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 called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Toolkit - colors and appearance

psilenzi-2
1-Visitor

Toolkit - colors and appearance

Hi all,

I need via sdk to retrieve the top most color of a surface.

With top most I meen the color of a surface as it look into the current document.

I'm new in CREO terminology so I'll make an example

     1 - You have a PART - cube with one red surface and 5 yellow surfaces

     2 - The part belongs to an assy and the assigned color is green

     3 - The assy could belong to another assy with another colour

If I use the ProSurfaceAppearancepropsGet I retrieve RED/Yellow colour

if I use the ProSurfaceAppearancepropsGet(PART) I retrieve green

BUT I NEED TO RETRIEVE THE VISIBLE COLOR INTO THE CURRENT MODEL

Do you have any suggestion?

thanks everybody

Patrizia


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Announcements


Top Tags