Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
*Bagby, Edward
Message 1 of 2 (42 Views)

display locked

42 Views, 1 Replies
04-18-2002 06:42 AM
Is there a way to programatically access the display locked feature for
viewports?

Thank you,
-Edward
*Piercey, Jason
Message 2 of 2 (42 Views)

Re: display locked

04-18-2002 06:48 AM in reply to: *Bagby, Edward
;;; 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?
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.