Skip to main content
Feb 8, 2017 3:30 PM UTC
Solved

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

dnordinAnswer
Feb 8, 2017 10:23 PM UTC

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

Feb 8, 2017 5:20 PM UTC

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.

Feb 8, 2017 6:52 PM UTC

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?