dos_hideobjects - dalefugier/DOSLib GitHub Wiki
Hides one or more AutoCAD entities. Hidden entities can be shown, or unhidden by using dos_showobjects or by closing and reopening the document.
Syntax
(dos_hideobjects entity-name)
(dos_hideobjects selection-set)
Parameters
entity-name
The name of an entity to hide.
selection-set
A selection set of entities to hide.
Returns
The number of entities hidden if successful.
nil on error.
Example
Command: (dos_hideobjects ss)
3