Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
is there way to change the default layer of an alignment according to the style chosen?
Solved! Go to Solution.
is there way to change the default layer of an alignment according to the style chosen?
Solved! Go to Solution.
The alignment object can go on a layer you specify in the ambient settings. The style can be used to assign different layers to the components of the alignment object. I don't know of any way to make the software assign a layer to the object based on the style. That would require a custom tool.
Hi @shildebrand3NLK9, what @Neilw_05 says is true. You can change the layer in the ambient settings. Here you have to take into account two things:
1. In the ambient settings, you set the "object layer". This layer controls the layer for the alignment as a whole, and when you select the alignment, the layer that will appear in the layers drop-down list is this one. The object resides on this layer.
2. Even though the object has this layer, you can configure other layers defined by the Object Style inside the objects.
So, in this context, you can harness the possibility to create independent layers for the Object Layer but not for the other ones. That means that for instance, if you explode an alignment, this alignment becomes an AutoCAD block that will reside in the Object Layer, but if you explode that alignment again, you're going to find the layers defined by the object style for each segment (line, curve, spiral) of the alignment.
Now, in the ambient settings, you have the option of adding a prefix or a suffix (see the image)
Object layers
Doing what I did according to the image will happen this: the dash asterisk (-*) means that every time you create an alignment, there is going to exist a new layer (Object Layer). If the alignment is called My Alignment, the new layer will be C-ROAD-My Alignment, and so on for each alignment you create. The name you assign to each alignment will take the Asterisk place that is our wildcard suffix.
Finally, be careful since those names are not dynamically linked to the object name. If you decide to change the name of the alignment later, you will have to manually change the layer's name.
My regards!