Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

display locked

1 REPLY 1
Reply
Message 1 of 2
Anonymous
114 Views, 1 Reply

display locked

Is there a way to programatically access the display locked feature for
viewports?

Thank you,
-Edward
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

;;; Ename: Viewport Entity name
;;; Return value: T if locked NIL if unlocked
(defun JRP:IsVpLocked ( Ename )
(eq 16384 (logand 16384 (cdr (assoc 90 (entget Ename)))))
)

--
-Jason

Member of the Autodesk Discussion Forum Moderator Program


> Is there a way to programatically access the display locked feature for
> viewports?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost