(1)如何用Visual LISP 锁定viewport
How to lock a viewport using Visual LISPQuestion
Is it possible to lock a viewport using Visual LISP?
Answer
It is not possible to lock the viewport by using (entmod).However, it can
be successfully done using ActiveX functions.The following sample code checks
the viewport object's DisplayLocked property and, if currently unlocked, proceeds
to lock it:
**** Hidden Message *****
After executing this code we can not zoom into the viewport:
Command: ms MSPACE
Command: z ZOOM
Viewport is view-locked. Switching to Paper space.
xiankankanzaishuo 回复瞧瞧!!!
好喜欢,辛苦了 object.DisplayLocked
objectPViewport The object or objects this property applies to.
DisplayLocked Boolean; read-write
TRUE: The viewport is locked.
FALSE: The viewport is not locked.
每日一码,这个主题好
好贴,老大有心人,免费教学,赞! DisplayLocked... {:soso_e101:}{:soso_e101:} 还得从头学一遍 回复学习!:lol 如何用Visual LISP 锁定? kankanknakna
回复学习! 回复学习学习:lol 学习学习