Odcl_LaySwitch

(From ODCL_LM file)

<< Click to Display Table of Contents >>

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

Odcl_LaySwitch

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_LaySwitch

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

 

Note:

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])