Home
Reply
Regular Contributor
sawarsi
Posts: 53

colors

i have a step file in which some of the faces are given colors (i think because when i read into a CAD package they are colored) but when i use:

 

api_rh_get_entity_rgb

 

on the face the found flag is false. is it perhaps that the color is being assigned to the solid instead of to the face? if so, should i get the color of the solid and use that color for the face?

 

Regular Contributor
sawarsi
Posts: 53

Re: colors

i looked further into this and even the solid does not have an associated color. any ideas?

 

Spatial Moderator
ybiyani
Posts: 223

Re: colors

Hello Sawarsi,

 

Do you have the "TranslateAttributes" set to true before the transfer? http://doc.spatial.com/index.php/InterOp:Connect/Attributes_Detailed .

 

Regards,

Yogesh