Select layer in the "Layer properties manager".

joantopo
Mentor
Mentor

Select layer in the "Layer properties manager".

joantopo
Mentor
Mentor

This idea is for AutoCAD but also useful for Civil 3D.

 

In case we select an entity or several entities which belong to the same layer, then if I press the right button of the mouse to show the context menu, I would like a new option called:

 

Select layer in the Layer properties manager.

 

The "Layer properties manager" is a palette. In case this palette is not opened, then this command opens this palette and select the correct layer.

 

 

This way, we can enable/disable or freeze that layer easily.

 

In the properties palette, we can change the layer of the entity but we cannot do some operations about the current layer in that object.

 

We avoid 2 steps:

1-Finding out the name of the layer of the entity. (opening the properties form / quick properties or tooltip).

2- Looking for that layer´s name in the Layer properties manager.

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
0 Likes
Reply
Accepted solutions (1)
1,147 Views
8 Replies
Replies (8)

BlackBox_
Advisor
Advisor
So you want a context menu item for MOLC Command?

Just code yourself a ContextMenuExtension, who's Popup event handler filters ImpliedSelection Count == 1, then have the MenuItem's Click event gander simply change the CLAYER SysVar accordingly, no?

I'd rather add this functionality for individual/selected/all C3D Object 'labels' layers personally - or better yet - a 'LABELMODE' sysvar to allow for those Object Settings to obey CLAYER like most other normal AutoCAD Command, but if that's what you want go for it. :beer:

Cheers

Sent from my iPhone


"How we think determines what we do, and what we do determines what we get."

0 Likes

joantopo
Mentor
Mentor
Clayer is the current layer but I only want highlight the layer, the vertical scrollbar would move automatically to be that layer in the top.
Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
0 Likes

joantopo
Mentor
Mentor
Obviously, if it is possible due the layer is the last, then this layer cannot be in the top although the scrollbar moves.this is the reason why the layer name would also be highlighted in the layer properties manager.
Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
0 Likes

rkmcswain
Mentor
Mentor
joantopo wrote:

.....This way, we can enable/disable or freeze that layer easily.

Why not just use LAYFRZ ?

 

 

In the properties palette, we can change the layer of the entity but we cannot do some operations about the current layer in that object.

I agree, a tool to do this would be great. Sort of like this:

 

 

 

 

R.K. McSwain     | CADpanacea | on twitter
0 Likes

joantopo
Mentor
Mentor
Accepted solution

Well. Right now I have seen that there is that in the WorkSpace: Drafting and annotation (AutoCAD) in the ribbon:

 

I don´t know if I can put the red frames in a tool bar...

 

Even, we can also use some Express tool command such as LAYOFF,...

 

 

 

 

43.jpg

 

 

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
0 Likes

joantopo
Mentor
Mentor

ok, solved.

You can add this post as : Solution provided.

Sorry.

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
0 Likes

Discussion_Ad
Alumni
Alumni
0 Likes

rkmcswain
Mentor
Mentor

       

R.K. McSwain     | CADpanacea | on twitter
0 Likes