Hi,
I have a bit complex problem. I want to attach a Property to a Null
object and depending on diffrent things the Parametres that will be
created in the Property will differ from one object to another (its
specified from the "outside" how the gui should look like).
My problem is that I have no good way to send customdata to to the
MyProperty_Define(XSI::CRef& ref) function.
One way I have come up with so far is to attach a "UserDataBlob"
Property to the object first. Then do
XSI::Application app;
XSI::Selection selection = app.GetSelection();
selection.Clear();
selection.Add(myObject);
then inside the MyProperty_Define(..) i find the selected object and get
the properties for the object and finds my UserDataBlob object that I
use for the gui creation.
I wonder if there is a better way because this semms a bit "flanky"
Daniel
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi