[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Disappearing Objects
Tip# 2203 By Greg Silva On 01-Apr-2007
3
Rated By 2 users Downloaded : 547
Categories : Object Data, LISP Code Modules
Software type : AutoCAD
Rename File To : Tip 2203: clr.lsp
Controls the visibility of objects in a drawing.

Disappearing Objects (Tip #2203) by Greg Silva is a set of command functions used to control the visibility of objects in a drawing. Inside AutoCAD, each drawing object has a visibility property that is either true or false. When false, the object is not visible. Greg's command functions take advantage of that property, and they are available after loading the LISP code. The command functions include CLR to set a currently visible object invisible, AO to turn all objects to visible, HMO to report the number of visible and invisible objects to the AutoCAD text screen and RO to reverse the visible and invisible flags so that all objects that were visible are now invisible and all previously invisible objects are now visible. It works just like magic! It's lots of fun to play with and is extremely useful when building a presentation around a complex electronic drawing. This program demonstrates the power of Visual LISP.

 

 

Average Rating:
3


User comments