what about a function that makes selected entity's layer becomes current layer?
there is something like that, already?
selected entity layer becomes current layer
Moderator: andrew
-
- Junior Member
- Posts: 14
- Joined: Sun Jun 30, 2019 11:35 pm
Re: selected entity layer becomes current layer
Hi,
with your selection, double click on the intended layer in the list.
Or alter the layer in the Property Editor.
Regards,
CVH.
with your selection, double click on the intended layer in the list.
Or alter the layer in the Property Editor.
Regards,
CVH.
Re: selected entity layer becomes current layer
OK, got it all wrong ...
... What if the selected entities are not all on the same layer.
Only one can become current!
Regards,
CVH
... What if the selected entities are not all on the same layer.
Only one can become current!
Regards,
CVH
-
- Junior Member
- Posts: 14
- Joined: Sun Jun 30, 2019 11:35 pm
Re: selected entity layer becomes current layer
Actually, I mean that: You want to draw something that have to be at the same layer of an entity. If you select that entity, its layer will be shown at status line. But, you will have to find that layer among several layers on the layer list. So, will be more easy to click twice on it and make its layer the current layer.
One thing bad is that clicking twice in some entitys leads to edit them. So the command could be "ctrl"+click or something like that.
I'm sorry for the bad english, I hope you can understand what I wrote.
One thing bad is that clicking twice in some entitys leads to edit them. So the command could be "ctrl"+click or something like that.
I'm sorry for the bad english, I hope you can understand what I wrote.
Re: selected entity layer becomes current layer
Hi JoseVieira,
Try this:
in your drawing (Model_Space) --> select the entities,
in Property Editor --> check if they are on the correct layer or not ...
(Note: If you see a *VARIES* that means they are on more than one layer - that's ok,)
... if not: --> go to the Layer List and left double click on the target layer. Active or not doesn't matters in this moment but the double click will finally make that clicked layer to the active layer.
Done.
Try this:
in your drawing (Model_Space) --> select the entities,
in Property Editor --> check if they are on the correct layer or not ...
(Note: If you see a *VARIES* that means they are on more than one layer - that's ok,)
... if not: --> go to the Layer List and left double click on the target layer. Active or not doesn't matters in this moment but the double click will finally make that clicked layer to the active layer.
Done.
Don't worry about that! If it is easier for you please feel free to post in your native language. We will use online translation - most of the time it works pretty well.JoseVieira wrote: ↑Thu Jul 14, 2022 11:16 pmI'm sorry for the bad english, I hope you can understand what I wrote.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: selected entity layer becomes current layer
Hi,
Husky's proposal would move all selected to the target layer and make that the active (current) layer.
But I think that moving entities was not the intention.
That is if you don't follow this common drawing practice:
https://www.ribbonsoft.com/en/tutorial- ... ith-layers
Layers are meant to define how your entities look like (color, line type and lineweight).
Only entities with the exact same look are usually put on the same layer.
It should then not be hard to locate the 'Hidden' line layer or the 'Thick' line layer.
Layers are not intended to group things that belong to a specific (sub-) part in a drawing.
For that we should use Blocks.
Two block examples from the standard Library: 'bed_double_180_200' and 'screw'.
The second one is a simplistic side view of a screw drawn on layer 0 and a red centerline on layer 'center'.
That said, I have a slightly adapted organizing system.
I group issues of my design proposals in layers with sub-layers that follow the common practice.
To compare two or some I set the issues main layer 'frozen' property to false.
Organized as groups, one issue would be one and the same block reference and I cannot select the individual entities.
For particular reasons I have to avoid the use of 'Edit Block In Place'.
While comparing issues, I have the same problem in looking up to correct layer to edit further.
I now see that your proposal is also a valid solution for me.
A script that runs on selected, comparing entities layers and then switches to the common layer or failing and reporting different layers.
It would be fairly easy to script and I will see what I can squeeze out of spare time to write something up.
I can already tell that switching the current layer is a double step ... It neads two Undo's (OO) to step back.
Will report back with a link to the posting.
Regards,
CVH
Husky's proposal would move all selected to the target layer and make that the active (current) layer.
But I think that moving entities was not the intention.
Indeed, in total I also wasted several hours looking up the specific layer to continue drawing on it.JoseVieira wrote: ↑Thu Jul 14, 2022 11:16 pmActually, I mean that: You want to draw something that have to be at the same layer of an entity. If you select that entity, its layer will be shown at status line. But, you will have to find that layer among several layers on the layer list.
That is if you don't follow this common drawing practice:
https://www.ribbonsoft.com/en/tutorial- ... ith-layers
Layers are meant to define how your entities look like (color, line type and lineweight).
Only entities with the exact same look are usually put on the same layer.
It should then not be hard to locate the 'Hidden' line layer or the 'Thick' line layer.
Layers are not intended to group things that belong to a specific (sub-) part in a drawing.
For that we should use Blocks.
Two block examples from the standard Library: 'bed_double_180_200' and 'screw'.
The second one is a simplistic side view of a screw drawn on layer 0 and a red centerline on layer 'center'.
That said, I have a slightly adapted organizing system.
I group issues of my design proposals in layers with sub-layers that follow the common practice.
To compare two or some I set the issues main layer 'frozen' property to false.
Organized as groups, one issue would be one and the same block reference and I cannot select the individual entities.
For particular reasons I have to avoid the use of 'Edit Block In Place'.
While comparing issues, I have the same problem in looking up to correct layer to edit further.
I now see that your proposal is also a valid solution for me.
A script that runs on selected, comparing entities layers and then switches to the common layer or failing and reporting different layers.
It would be fairly easy to script and I will see what I can squeeze out of spare time to write something up.
I can already tell that switching the current layer is a double step ... It neads two Undo's (OO) to step back.
Will report back with a link to the posting.
Regards,
CVH