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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

JLink don't create an entity with a standard color

PaoloValtorta
2-Guest

JLink don't create an entity with a standard color

In JLink is possible create an entity in a DRW with an assigned color, es:

 

colorY = StdColor.COLOR_LETTER;

yellow = session.GetRGBFromStdColor(colorY);

instrs = pfcDetail.DetailEntityInstructions_Create(ln, view);

instrs.SetColor(yellow);

 

but the entity created has not the "COLOR_LETTER" color but a color with the same RGB of "COLOR_LETTER".

When I print this DRW file the entity created has not the right pen thickness because it is not recognized from the "pentable".

 

I ask if it was possible to place in JLink the same function for create a standard color as in the Toolkit.

0 REPLIES 0
Top Tags