Hi

I have created a custom operator.
In the update function of the COP I get the myobject.polymsh as context.
But I need to access a custom property that is attached to myobject.

So far I found two functions which usually return the object.
CRefArray GetOwners
X3DObject GetParent3DObject
But both are stated as:
"If this function is called from the cb_Operator_Update Update context of a custom operator it returns an empty array"

No explanation why.

Any hints how to solve this issue?

Last chance would be perhaps to hack a little bit. Get the name myobject.polymsh as string, cut the polymsh and use that to create a new X3DObject?


Holger Schoenberger
technical director
The day has 24 hours, if that does not suffice, I will take the night




Reply via email to