I am using Rhino 8 and saving a .3dm file as a .dwg to share with an engineering partner.
It opens fine in AutoCAD but the layer structure is not maintained.
Specifically if, in Rhino, I have some layers such as Commercial, Parking, etc. as children of SITE
The hiearchy looks like SITE::Commercial, SITE::Parking, SITE::etc.
However, when opened in AutoCAD with the different export options I can only get the child layers by themselves, Commercial, Parking OR with a dollar sign symbol replacing the double colon ::
So, in AutoCAD they read as SITE$Commercial, SITE$Parking
Am I overlooking something simple?
Honestly, itās been years since Iāve touched AutoCAD so Iām not familiar if thereās a simple process to use the $ syntax to merge the proper layer structure or some other setting I am overlooking.
Then you can select those layers and drag them into your new group filter (do like a shift+select, CTRL A works too I think):
Closest I can come to a solution to sort your layers. I was a bit miffed myself the first time I ever imported layers into AutoCAD. And Iāve since been trying to come up with a scheme thatās cross-compatible.
Well this is certainly helpful and I can utilize it in the meantime I am shocked there isnāt better interoperability with the layers from Rhino to AutoCAD as all the other properties (Visiblity, Color, etc) transfer just fine.
I would think the parent,child,grandchild hierarchy would be a give in but Iām not a programmer so who knows.
@Gijs are there any open youtracks or requests that you know of to have Rhino to .DWG maintain layer structure?
One thing would be to add an option to re-create the sublayer structure in the Rhino DWG importer when the layer names contain some ā@ā.
I think itās on the list.
Btw: why does it have to be an @ sign? Seems to be hardwired in the exporter. Make this configurable? A :: would look better, for example.
@Eugen The exporter from Rhino to AutoCAD uses a dollar sign $ for delineation between parent/child.
@dale thanks for your response, I could have sworn CAD supported layer hierarchy but obviously it does not, you are right.
Is the $ dollar sign syntactically important? Or is there an opportunity for a user defined delineator such as - or :: or whatever the user would type as the delineation string?
@keithscadservices well a script structuring the layer hierarchy with append text as you show seems like thatās maybe the best option for now because at least then you have hierarchical layers together in āgroupsā and they still retain alphabetic sorting.
Iād love to test out the AutoLISP script if youād be willing to write/share.