I have a part file with multiple part instances. I am using ProToolkit
to load each instance into the display and then using some mapkey
functions to perform some operations on the displayed instance.
When the instances load they are "regenerated". This regeneration seems
to allow the mapkey process to get ahead of the file state, and certain
menu options are not available.
I tried using some of the following type code ProNotificationSet(PRO_SOLID_REGEN_POST,(ProFunction)instanc eLoaded);
where instanceLoaded function calls the mapkey commands.
MapKey commands do work if I load a part with no instances.
Anyone have any experience in writing toolkit code to monitor the state
of an instance so that code can only proceed once the instance is fully
loaded/displayed/generated?
to load each instance into the display and then using some mapkey
functions to perform some operations on the displayed instance.
When the instances load they are "regenerated". This regeneration seems
to allow the mapkey process to get ahead of the file state, and certain
menu options are not available.
I tried using some of the following type code ProNotificationSet(PRO_SOLID_REGEN_POST,(ProFunction)instanc eLoaded);
where instanceLoaded function calls the mapkey commands.
MapKey commands do work if I load a part with no instances.
Anyone have any experience in writing toolkit code to monitor the state
of an instance so that code can only proceed once the instance is fully
loaded/displayed/generated?