Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: DXF DWG colors

  1. #1
    Junior Member
    Join Date
    Mar 2004
    Posts
    10
    Can anyone show me how to set up a dxf_export.pro file

    I'm trying to export DWG and DXF files from a drawing and no mater what
    I do, I end up with an autocad file that shows black lines for geometry
    and yellow lines for dimensions and the title block. I really
    need a way to set dims and title block to another color and I can't
    make it work!



    Thanks,

    Peter

  2. #2
    Senior Member
    Join Date
    Oct 2003
    Posts
    812
    in wf2. u can set where the drawing gets the colour from.

    ie model or drawing .

    make sure u set it to drawing if u want black and white. otherwise the colours are comming from ur models
    Regards
    PupPeT

  3. #3
    Junior Member
    Join Date
    Mar 2004
    Posts
    10
    Puppet,

    Your talking about view colors right? Mine were set to 'from model' but
    either way an exported drw file shows geometry as Black and all
    dimensions and title blocks as yellow.

    Do you know another way to override the yellow default colors that show up in the exported files?



    thanks

  4. #4
    Senior Member
    Join Date
    Oct 2003
    Posts
    812
    wierd.

    i just did it. and it was white geometry and yellow dimensions



    possibly ur using a bugged versions of wf?

    wf2 M0000 was BUGGYYY as hell from what i heard especially when it came to dxf
    Regards
    PupPeT

  5. #5
    Junior Member
    Join Date
    Mar 2004
    Posts
    10
    sorry, I made a mistake in my last posting,

    What I meant was that the exported DXF or DWG file shows all dimensions and title bloks in yellow and geometry in Black.



    I know the dxf_export.pro option will let you specify a
    dxf_export.pro file and the problem I'm having is with setting up this
    file.

    I did this before with WF1 when I had tech support but now I don't have support and I can't get it to work.



    I've attached the file in case you want to check it out.

    First of all I don't know what number goes with which color but I still
    can't get it to do anything when I change them. DXF and DWG files always have dims in
    yelllow.

    when you look at them in AutoCAD




    2005-02-08_220618_dxf_export.zip

    btw: i'm using a licensed version of WF2 f000



    Thanks for your help.

    Peter

  6. #6
    Senior Member
    Join Date
    Oct 2003
    Posts
    812
    wherre does that file go?

    so i can test it for u ? but off hand i would say its ur release of wf.

    i think they are up to m100? or m090?
    Regards
    PupPeT

  7. #7
    Junior Member
    Join Date
    Mar 2003
    Posts
    4
    Peter,

    If you are just trying to get rid of the yellow text, dimensions, and crosshatching, you can change the system colors to a "Black on White" or "White on Black" scheme (in 2001, go to View - Display Settings - System Colors). Then when you make your dxf copy, the yellow stuff becomes black.

    Dan

  8. #8
    Junior Member
    Join Date
    Mar 2004
    Posts
    10
    Dan,

    Thanks for the tip.

    That's a good way to override the system colors.

    I figured out how to set up the dxf_export.pro file.

    After linking to it through the config.pro, it creates dwg or dxf file
    with blue dims and title blocks. I'm not sure what all the color #'s
    are but this files worked for me...



    map_color BACKGROUND_COLOR 3

    map_color DIMMED_COLOR 3

    map_color LETTER_COLOR 5

    map_color HIGHLIGHT_COLOR&nb sp; 3

    map_color EDGE_HIGHLIGHT_COLOR 3

    map_color GEOMETRY_COLOR&nbs p; 0

    map_color HIDDEN_COLOR 8

    map_color SHEETMETAL_COLOR 3

    map_color
    CURVE_COLOR
    3

    map_color VOLUME_COLOR 3

    map_color SECTION_COLOR&nbsp ; 5

    map_layer DXF_AXIS 1

    map_layer DXF_CONTINUOUS_LINE 2

    map_layer DXF_HIDDEN_LINE 3

    map_layer DXF_DIMENSION 4

    map_layer DXF_TEXT 5

    map_layer DXF_HATCHING 6

    map_layer DXF_TABLE 7

    map_layer DXF_BALLON 8

    map_layer DXF_FORMAT 9

    map_line_style solidfont bylayer

    map_line_style phantomfont bylayer

    map_line_style ctrlfont bylayer

    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 bylayer

    map_line_style ctrlfont_mid_l bylayer



    Thanks,

    Peter

  9. #9
    Senior Member
    Join Date
    May 2002
    Posts
    414
    Here's some more details onpen assignmentsfrom the PTCHelp files...






    Pen Number
    System Color
    Mapping
    Default weight

    1
    Geometry (white)
    Curves (brown)
    Volume (magenta)
    Visible geometry (plot as solid lines, except where noted):
    Cross-section cutting plane lines: plot as phantom lines
    Cross-section cutting plane arrows and text
    Drawing format and boundary
    Tag text
    Centerline line font with white color
    3

    2
    Letter (yellow)
    All items plot as solid lines (except where noted):
    Dimension lines
    Leaders
    Axes and centerlines: plot as centerlines
    Geometric tolerance lines
    All text (except cross-section text)
    Balloon notes
    Cross-hatching
    Yellow portion of datum planes
    Centerline line font with yellow color
    1

    3
    Hidden (gray)
    Hidden lines: plot as dashed lines, phantom font
    2

    4
    Highlight (red)
    All items plot as solid lines:
    Red portion of datum planes
    Spline surface grid (does not plot in drawings)
    2

    5
    SheetMetal (green)
    Sheet metal color entities
    2

    6
    Section (cyan)
    Sketcher section entities
    2

    7
    Dimmed Menu (gray)
    Toggled sections, grayed dimensions and text, dimmed tangent edges
    1

    8
    Edge High (blue)
    Spline surface grid
    1
    Edited by: proed

  10. #10
    Junior Member
    Join Date
    Mar 2003
    Posts
    4
    AutoCAD's colors:
    1 = Red
    2 = Yellow
    3 = Green
    4 = Cyan
    5 = Blue
    6 = Magenta
    7 = White/Black (depending on background color setting)
    8 = Dark Gray
    9 = Light Gray
    10-255 = various shades of above

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151