Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding RGB colors to Pen table

  • Thread starter Thread starter liquidater
  • Start date Start date
L

liquidater

Guest
Is there a way to add an rgb valued color to the table.pnt file. For instance the color 255, 183, 0 how would that get entered into the table?
 
Yes, look under Fundamentals in the Help and look under Pen for more information. The color values are entered in values from 0(0) to 1(255). For your example divide 183 by 255. Color value in table.pnt will be 1.00000 0.71765 0.00000. Here is an example from my table.pnt file.


pen 1 thickness 0.020 in color 0.23529 0.21961 1.00000 prints geometry in blue
 
Thanks for the response, that clarifies some things. I am looking to see if I can get a custom color to print to a specific pen.
 
If you have more than one custom color you are trying to print here are some other things to try. Try removing the color and thickness values in the table.pnt file. ProE will use the colors and thicknesses from the drawing file for printing. User defined colors print using pen 1.
 
Is there a way to control which pen a user defined color prints to and can I print different user defined colors to different pens?

P.S. Thanks for the help.
 
No, the user defined colors are always mapped to pen 1. You can change the pen that system colors use by adding the color name to the line.
 

Part and Inventory Search

Sponsor

Back
Top