Pro/TOOLKIT: how to assign a texture with ProMdlVisibleTexturepropsSet()
Hi to everyone,
did anyone manage to assign a texture to a surface using Pro/TOOLKIT???
I managed to use the "new" (starting with Creo2 M140) Toolkit function ProMdlVisibleAppearancepropsGet() and ProMdlVisibleAppearancepropsSet() to assign a color to a comp/surface etc.
ProMdlVisibleTexturepropsSet() works as expected. But it seems that this isn't enough to display a texture on a surface. I think I must use ProMdlVisibleTextureplacementpropsSet() to define how the texture is placed/projected and so on. This function always returns -2 (INVALID INPUT)....
Before I paste some code here - WAS ANYONE HERE ABLE TO DO THIS?
Any tricks on how to define the ProSurfaceTexturePlacementProps object/pointer???
THANKS.
Andreas
Andreas

