DDJL Posted November 20, 2019 Posted November 20, 2019 (defun C:NV () (command "mview" "NE")) I have this simple lisp program using a new "mview" option which works. When I add some additional code to change the viewport to a non plotting layer it is never executed. Does anyone Why that is? And how to fix it. A nesting scheme perhaps. Quote
BIGAL Posted November 20, 2019 Posted November 20, 2019 Set the layer before Mview the set back use (setvar 'clayer "mylayer") 1 Quote
hanhphuc Posted November 20, 2019 Posted November 20, 2019 try activex method instead vla-AddPViewport vla-put-TwistAngle vla-put-layer (vlax-dump-object (vlax-ename->vla-object en) t) for supported properties , methods 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.