(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > Lisp utilities >


(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page


This function will change entities layer without affecting color and line type

First Parameter

selection set

example: (ssget "_X")


Second Parameter

Lryer Name as string

example: "LayLr2"


Return Values

Always return Nil



This function will change all entities to the specified Layer without affectin their apparence, If Layer do not exist, no change will be made. Also, this function work for Entities inside blocks.


AutoLisp Syntax:

(Odcl_LaySwitch SelectionSet [as Pickset] LayerName [as string])