cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Color control when exporting to .dwg format

SOLVED
Highlighted
Topaz II

Color control when exporting to .dwg format

Is there a place where you can control/set these parameters (globally) for every time a drawing is exported to .dwg format?

 

 

Thanks, Dale

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Color control when exporting to .dwg format

Dale,

Try changing the word "white" to "7".

Also, double check that the file is being read in properly.  Check the trail file and/or the std.out file for any errors.

This is what we're using:

map_color       BACKGROUND_COLOR          7

map_color       DIMMED_COLOR              7

map_color       LETTER_COLOR              7

map_color       HIGHLIGHT_COLOR           7

map_color       EDGE_HIGHLIGHT_COLOR      7

map_color       GEOMETRY_COLOR            7

map_color       HIDDEN_COLOR              7

map_color       SHEETMETAL_COLOR          7

map_color       CURVE_COLOR               7

map_color       VOLUME_COLOR              7

map_color       SECTION_COLOR             7

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               7

map_color       QUILT_COLOR               7

14 REPLIES 14

Re: Color control when exporting to .dwg format

Dale,

Use the config.pro option:

intf2d_out_dxf_mapping_file <full path to mapping file>

in the mapping file, you can define

map_color

map_layer

map_line_style

map_font

For example:

map_color       BACKGROUND_COLOR          7

map_color       DIMMED_COLOR              7

map_color       LETTER_COLOR              7

map_color       HIGHLIGHT_COLOR           7

map_layer       DXF_AXIS                  1

map_layer       DXF_CONTINUOUS_LINE       2

map_layer       DXF_HIDDEN_LINE           3

map_line_style  solidfont                 continuous

map_line_style dotfont       dot

map_line_style  ctrlfont                  center

map_line_style  phantomfont               phantom

map_font        font                      verdana.ttf

map_font        filled                    verdana.ttf

map_font        isofont                   isocp3_iv50.ttf

Regards,

Dan N.

Re: Color control when exporting to .dwg format

Is there a particular extension that you need to give to this file?

.scl are system color files, is there something like that?

If I try it and it doesn't work to my satisfaction, is there a way to turn it off?

Re: Color control when exporting to .dwg format

I created a file called:  dxf_export.pro

In that file I created a series of:

map_color geometry white

map_color hidden_line white

map_color sketch white

map_color curve white

map_color quilt white

map_color manufacturing_volume white

map_color sheet_metal white

map_color datum white

map_color letter white

map_color highlight_primary white

map_color highlight_secondary white

map_color highlight_edge white

Having saved it all. Exiting out of Creo/WF5.0 and getting back in (in order to set the config.pro and other files), when I exported, nothing changed.

Re: Color control when exporting to .dwg format

Danilo Veljkovic

Are you still on the community site and could possibly help?

I have been reading through you thread:

dxf_export settings

Re: Color control when exporting to .dwg format

Dale,

Try changing the word "white" to "7".

Also, double check that the file is being read in properly.  Check the trail file and/or the std.out file for any errors.

This is what we're using:

map_color       BACKGROUND_COLOR          7

map_color       DIMMED_COLOR              7

map_color       LETTER_COLOR              7

map_color       HIGHLIGHT_COLOR           7

map_color       EDGE_HIGHLIGHT_COLOR      7

map_color       GEOMETRY_COLOR            7

map_color       HIDDEN_COLOR              7

map_color       SHEETMETAL_COLOR          7

map_color       CURVE_COLOR               7

map_color       VOLUME_COLOR              7

map_color       SECTION_COLOR             7

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               7

map_color       QUILT_COLOR               7

Re: Color control when exporting to .dwg format

Daniel,

I changed the whites to 7's - nothing yet.

Do you see anything wrong/inconsistent with this:

Thanks,

Dale

Re: Color control when exporting to .dwg format

Daniel,

I replicated what you had listed and it worked.

More out of curiosity, why are the parameter names you listed (which work), different then what was listed on my first post (which didn't work - yet are what shows up in the properties box   ).

Thanks for all your help.

Dale

Re: Color control when exporting to .dwg format

Daniel,

Do you know what I would need to change symbols to white?

Thanks, Dale

Re: Color control when exporting to .dwg format

I tried:

map_color   symbol_color   7

But that didn't work. Does anyone have other thoughts?

Thanks, Dale