Assign appearance using toolkit
Hello all,
I am trying to assign apperance to creo assembly or part using toolkit. Can someone let me know how can I assign apperance and also define the RGB value for appearance?
TIA
Hello all,
I am trying to assign apperance to creo assembly or part using toolkit. Can someone let me know how can I assign apperance and also define the RGB value for appearance?
TIA
For Toolkit, I think you want to search for ProSurfaceSideAppearancepropsSet. It used to be ProSurfaceAppearancepropsSet but that was deprecated in Creo 5.
There's a decent RGB code example in this article: https://www.ptc.com/en/support/article/CS313016
There's another code example https://www.ptc.com/en/support/article/CS377828 of using ProSurfaceSideAppearancepropsSet if that's helpful.
Depending on what you're trying to do, you may need to use ProMdlToModelitem to convert from a ProMdl to a ProMdlitem.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.