We have a customer that requires that all AuroCAD DWG files have cetrain layer named per their list, same goes for color and linetypes. I have managed to make color and linetypes show up correct in DWG file. Only problem left is that I cannot force Creo to export layers per my settings (deja vu anyone).
What I did so far is the following:
I set "intf_out_layer" to "part_layer"
I set "intf2d_out_dxf_mapping_file" to "dxf_export.pro" file
Here is the dxf_export.pro file:
And this is what I get:
As you can see, Creo exported layers and added part number names in front of map_layer names. This is because "intf_out_layer" is set to "part_layer". There are also some of the layer named DEFAULT_1, 2 and 3 which have entities that are not specified in dxf_export.pro file. This is my guess.
I found setting "intf_out_layer_rename_table" but I could not find anything on internet on what this is and how to use it.
So, is there any additional settings that I should set to get layers as set per dxf_export.pro file? Also, what other map_layer values I am missing in this file?
Thank you in advance.
P.S. I have one more problem. Although entities are placed in right layer, object color is set to particular color instead of ByLayer, but I think I can/will solve this in AutoCAD. Is it possible to assign color of layer in dxf_export.pro file?
I might suggest that a client who is this particular also has a routine that assures compliance. Maybe they have a script that can do this once the DXF is opened in their system.
As for the default names, what about renaming them to one that is used? If nothing else, you could just remove these lines from the DXF file. You will likely need Autocad to confirm your output files. If you simply import it back to Creo, you might just get more "artifacts" than the file brings in.
Customer does have verification software and every print has to pass the check. Their software, or LISP program does not fix anything.
Nice. So, the only layers they want are CEN, OBJ, HID, DIMS and HATCH?
Do they want to be able to print from these DWG files exported from Creo?
I actually have to do something pretty similar, and I do that with a LISP routine in BricsCAD.
Does anyone know how to make a layer in drawing mode that has all hidden lines? Same question goes for layer with solid lines? What fiter rule I should use?
If you don't convert all the drawing views to drawing entities, then you won't be able to add their hidden lines to a specific layer.
Actually, I'd like to stop you right there, and tell you that dimensions can't be converted to draft entities. So you will be stuck with those going to ACAD layer "0" as long as you have to set the config intf_out_layer set to none.
Back when I had to solve this I tried to figure out the layer rule as well, and couldn't find any.
Is your customer gonna print from the ACAD drawings?
I do not want to change dimensions to draft entities. Actually, I managed to place all dimesnsions, tables and notes on one layer. Customer's request is that dimensions MUST be associative, not draft entities.
DIMS layer shown:
DIMS layer hidden:
Customer has excell spreadsheet that pulls data from print's titleblock. Customer uses these DWG prints to print them out.
Is it possible in CREO drawing to filter all hidden lines and place them in HID (hidden) layer? I am trying to minimize work that has to be done to comply with customer's requirements.
Pretty demanding customer.
I use to just break all the entities in BricsCAD/AutoCAD, but I would like to figure out how to avoid that, cause these DWG files tend to get pretty large then. Well, I know there is no other way.
Have you got drawing layers that take all the dims, tables or notes by a rule?
The thing about printing from DWG files exported from Pro/E is that you won't be able to set the coloring scheme for printing in ACAD (via *.ctb file).
You will have trouble with drawing printing in yellow, and other colors.
I think those layers named DEFAULT_1, DEFAULT_2 and DEFAULT_3 could be deleted using LISP.