rsocampo Posted March 28, 2019 Posted March 28, 2019 hi, any way to improve below lisp? it create new layer and new viewport but after layerp command execute the layer color goes back to white and no plot becomes plot again. (defun c:vp() (command ".layer" "M" "viewport" "C" "8" "viewport" "P" "N" "viewport" "" "-VPORTS" pause pause ".layerp") (princ) ) Quote
Steven P Posted March 28, 2019 Posted March 28, 2019 A quick and simple fix: (defun c:vp() (command ".layer" "M" "viewport" "C" "8" "viewport" "" "-VPORTS" pause pause ".layerp" "" "-layer" "P" "N" "viewport" "" ) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.