Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Shaiki_
15311 Vistas, 3 Respuestas

Command to change layer of selected objects

Hello, 

 

Is there a command to change the layer of selected objects via the command line? I like how "clayer" allows you to set the current layer through the command line, but it would also be nice if I could change the layer of objects through the command line as well!

 

cadffm
en respuesta a: Shaiki_

Use AutoCAD help, press [F1]

change Layer command

The way for help yourself.

 

 

Solution:

command CHPROP or CHANGE 

LAYCUR and others

 

HTH

Sebastian

imadHabash
en respuesta a: Shaiki_

Hi,

 

>> Is there a command to change the layer of selected objects via the command line? <<

Yes you can by CHANGE command.

 

Command: -CH CHANGE
Select objects: Specify opposite corner: 2 found

Select objects: Specify change point or [Properties]: p
Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness/TRansparency/Material/Annotative]: la
Enter new layer name <varies>: 0

 

 

Regards,

 

Imad Habash

EESignature

Kent1Cooper
en respuesta a: imadHabash


@imadHabash wrote:

.... 

Command: -CH CHANGE
Select objects: Specify opposite corner: 2 found

Select objects: Specify change point or [Properties]: p
Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness/TRansparency/Material/Annotative]: la
Enter new layer name <varies>: 0

.... 


Or, save yourself one step, and use the CHPROP command, which is like a collapsing together of the CHANGE command and its Properties option.

Kent Cooper, AIA