Cancel
Showing results for 
Search instead for 
Did you mean: 

Graphic Material : Can't get to the graphic path

Legend
Legend

Hello everyone, 

 

I'd like to get to a graphic path in order to change its color with Simtalk. 

The picture shows the graphic structure. 

I tried this : 

myObject._3D.setGraphicMaterial(makeArray(2,12,1, 1,2) ... 

but it didn't find any geometric object to modify ! 

 

Thank you very much ! 
Sans titre.png

2 REPLIES 2
Highlighted

Re: Graphic Material : Can't get to the graphic path

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello ocsim56,

try this:

myObject._3D.setGraphicMaterial(makeArray(12,1, 1,2) ..., "deco")
Regards,

Ralf
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: Graphic Material : Can't get to the graphic path

Legend
Legend
Thank you Ralf ! It's exactly what I was looking for !
Thank you so much !
Have a nice day !

BR
O.C