
Mon, 03/28/2011 - 21:18
Hello,
i have problems to get the functionmechanism to Work. Imagine the following ocaf tree structure:
main
--- top label 1
--- top label 2 //depends on geometrie childlabel
--- ref 1
--- ref 2
--- geometrie //depends on ref 1 and ref 2
I have working TFunction_Driver's attached to all labels (exept main), but by doing:
TDocStd_Document::Get(ref 1)->SetModified( ref 1);
TFunction_Iterator iter( top label 2);
no functionlists are available by the iterator (iter.More() returns false). What am i missing in the function initilaising? I've read the ocaf_functionmechanism and it seems this is the way to go.
Any help would be appreciated.
Thanks,
Stefan
Mon, 03/28/2011 - 21:29
Hello,
seems all front whitespaces are getting removed when posting a message. the tree structure should look like this:
main
--- top label 1
--- top label 2 //depends on geometrie childlabel
--------- ref 1
--------- ref 2
--------- geometrie //depends on ref 1 and ref 2
Regards,
Stefan
Stefan