dxf_export settings
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:
| map_color | BACKGROUND_COLOR | 186 |
| map_color | DIMMED_COLOR | 9 |
| map_color | LETTER_COLOR | 2 |
| map_color | HIGHLIGHT_COLOR | 2 |
| map_color | EDGE_HIGHLIGHT_COLOR | 2 |
| map_color | GEOMETRY_COLOR | 3 |
| map_color | HIDDEN_COLOR | 6 |
| map_color | SHEETMETAL_COLOR | 7 |
| map_color | CURVE_COLOR | 7 |
| map_color | VOLUME_COLOR | 7 |
| map_color | SECTION_COLOR | 135 |
| map_color | PRESEL_HIGHLIGHT_COLOR | 7 |
| map_color | SELECTED_COLOR | 7 |
| map_color | SECONDARY_SELECTED_COLOR 7 | |
| map_color | PREVIEW_GEOM_COLOR | 7 |
| map_color | SECONDARY_PREVIEW_COLOR 7 | |
| map_color | DATUM_COLOR | 4 |
| map_color | QUILT_COLOR | 2 |
| map_layer | DXF_AXIS | CEN |
| map_layer | DXF_CONTINUOUS_LINE | OBJ |
| map_layer | DXF_HIDDEN_LINE | HID |
| map_layer | DXF_DIMENSION | DIMS |
| map_layer | DXF_TEXT | DIMS |
| map_layer | DXF_HATCHING | HATCH |
| map_layer | DXF_TABLE | DIMS |
| map_layer | DXF_BALLOON | DIMS |
| map_layer | DXF_FORMAT | DIMS |
| map_line_style solidfont | bylayer |
| map_line_style phantomfont | PHANTOM |
| map_line_style ctrlfont | CENTER |
| map_line_style hiddenfont | HIDDEN |
| map_line_style bylayerfont | bylayer |
| map_line_style dashfont | bylayer |
| map_line_style ctrlfont_s_l | bylayer |
| map_line_style ctrlfont_s_s | bylayer |
| map_line_style ctrlfont_l_l | bylayer |
| map_line_style dashfont_s_s | bylayer |
| map_line_style phantomfont_s_s | phantom |
| map_line_style ctrlfont_mid_l | bylayer |
| map_font | font | simplex.shx |
| map_font | filled | bigfont.shx |
| !map_font | isofont | arial.ttf |
| map_font | isofont | isocp.shx |
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?
