automatically place objects on layers

automatically place objects on layers

Anonymous
適用対象外
1,841件の閲覧回数
8件の返信
メッセージ1/9

automatically place objects on layers

Anonymous
適用対象外

Is there a way to automatically place objects on layers, for instance when i draw a construction line i would like to place it automatically on the layer "construction lines". This instead of changing the active layer all the time.

 

 

0 件のいいね
解決済み
1,842件の閲覧回数
8件の返信
返信 (8)
メッセージ2/9

cadffm
Consultant
Consultant
Simple way:
create your Layer, draw a <whatever>
Drag&Drop the <whatever> to your own new Toolpalette (CTRL+3)

(Rightclick on tab, new palette..)

Only for Blocks it is special, for Blocks it is the same way, but you have to create a DWG as Sourcefile for all your toolpalette blocks. Add a Block from this file.
Or you can Drag&Drop a dwg to insert this file 'as Block'

Try it.

If you like own Buttons in Ribbon for example, you have to learn to create own cuix tabs panels and menumacros.

Sebastian

0 件のいいね
メッセージ3/9

pendean
Community Legend
Community Legend
Trhere are no"construction lines" objects in LT, do you mean DLINE command?

In LT, you can either create customize the code (and buttons) in CUI command for each object type not already addressed with commands like DIMLAYER and HPLAYER or hunt/pick your own predefined objects in ToolPalettes all day long. Which method do you want to invest in time and effort (and testing) to make it all happen?

Let us know.
0 件のいいね
メッセージ4/9

Anonymous
適用対象外

Thanks for your answer,

I use auto cad light 2018 for mac and i understand that works differently than the windows version.

I cannot drag and drop objects to the tools panel. 

0 件のいいね
メッセージ5/9

Anonymous
適用対象外

Also thanks for your answer,

I use autocad light for mac 2018.  With the CUI command i cannot enter any layer for a specific object. See the screenshot.

 

Schermafbeelding 2018-08-14 om 20.15.15.png

0 件のいいね
メッセージ6/9

cadffm
Consultant
Consultant
解決済み

"With the CUI command i cannot enter any layer for a specific object."

 

You can handle it with your menumacro "^C^C_XLINE....", but you have to learn how to customize own menus and tools.

Example:

Create a new "Command" with that macro (i can not help you with MAC, but i am sure the Help, will helps)

 

^C^C_-LAYER;_thaw;MyXLINElayer;_make;MyXLINElayer;;_XLINE

 

Sebastian

メッセージ7/9

Anonymous
適用対象外

P.S. Can i write a macro that will do the job?

0 件のいいね
メッセージ8/9

cadffm
Consultant
Consultant
See MY example above..
It changes the current layer and start command xline

Thats one possible way

Sebastian

0 件のいいね
メッセージ9/9

carolyn.fiorelli
Explorer
Explorer

I inserted your macro into the CUI macro field for 'Construction Line' and it works great, but it leaves me in MyXLINElayer.  Is there any way to revert to the previous layer before exiting the macro?