Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Does anyone know how to filter all solid lines to layer? What filter should I select in "Look for"? Same goes for hidden lines and xhatches.
Selecting Draft Entity does not work.
I want to move all solid (continuous) lines to one layer, all hidden (dahsed) lines to another layer, etc. I can do this for centers, text, symbols etc, bit for these three (solid lines, hidden lines and xhatches) I have no clue what to look for. Sometimes, I wonder if PTC has a clue ...
If you are dealing with DXF files then this is supported. If you attempting to select Creo line types and add them to a layer, I am not sure if that is possible.
Mapping layers to line style in DXF exchange:
That is not what I am looking for. I have a Layer in drawing called Main and I want to place all solid lines into that folder. Same goes for hidden lines, which should go to Hidden layer. Later on, when I export drawing to DWG format all layers should be there. I am trying to avoid using "intf_out_layer part_layer" option because it adds part name in front of each layer's names.
This may not be supported. It appears to be incongruous with how Creo deals with the display of items in drawing views. View properties is the "standard" way to control visibility of visible and hidden lines. I have never seen drawing view line types filtered using layer assignment by rule. It may be possible, perhaps someone else that has done this will comment.
My comments are based on this information from the documentation (note that visible and hidden lines are not mentioned):
To Automatically Place Drawing Items on Layers
Create a default layer by setting the def_layer configuration option. You can more easily control on which layer the items are placed by setting the layer as active. You can place the following drawing items on an active layer:
• Draft entities including draft datums, groups, and axes
• Notes and parametric notes
• Geometric tolerances and their datums
• Dimensions (model, drawing, reference)
• Datum targets
• Symbols and Surface finish symbols
• Tables
• Snap lines
You can also add the following three-dimensional detail items:
• Notes
• Driven dimensions
• Reference dimensions
• Geometric tolerances
• Symbols and Surface finish symbols
I do not want them to be visible or not. It was jus to group them together. It looks like it cannot be done. Thank you for your help.