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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Color control when exporting to .dwg format

Dale_Rosema
23-Emerald III

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
dnordin
15-Moonstone
(To:Dale_Rosema)

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

View solution in original post

14 REPLIES 14
dnordin
15-Moonstone
(To:Dale_Rosema)

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.

Dale_Rosema
23-Emerald III
(To:dnordin)

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?

Dale_Rosema
23-Emerald III
(To:dnordin)

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.

Dale_Rosema
23-Emerald III
(To:Dale_Rosema)

Danilo Veljkovic

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

I have been reading through you thread:

dxf_export settings

dnordin
15-Moonstone
(To:Dale_Rosema)

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

Dale_Rosema
23-Emerald III
(To:dnordin)

Daniel,

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

Do you see anything wrong/inconsistent with this:

Thanks,

Dale

Dale_Rosema
23-Emerald III
(To:dnordin)

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

Dale_Rosema
23-Emerald III
(To:dnordin)

Daniel,

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

Thanks, Dale

Dale_Rosema
23-Emerald III
(To:Dale_Rosema)

I tried:

map_color   symbol_color   7

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

Thanks, Dale

Hi,

open Creo dialog, where you can mix Creo system colors (geometry, curves, background, and so on) and try to find out which system color is associated with your symbol.

MH


Martin Hanák
Dale_Rosema
23-Emerald III
(To:MartinHanak)

According to this, the System Color is Intrinsic:

I tried:

map_color   intrinsic_color   7

but that didn't work.

Dale,

Intrinsic color tells you, that the symbol contains several entities and these single entities have different colors assigned.

To edit symbol definition:

  • open empty drawing
  • on Annotate tab, click Symbol > Symbol Gallery
  • in SYM GALLERY menu, click Redefine > Retrieve command
  • redefine the symbol
  • click Done to finish editing
  • click Write to save new symbol version ... save it into original location !!!

MH


Martin Hanák

Intrinsic is just a button/indicator for the original color(s) the symbol was created with.

It should be 'default' but there's not enough GUI style QC.

Dale_Rosema
23-Emerald III
(To:MartinHanak)

I did click on Color and change it to "Letter" and when it was exported, it became white

Now how do I edit the symbol in the library?

Top Tags