Library | Module

Interface IpfcModelEventActionListener



Description

This action listener interface contains methods used to listen for events occurring on models in session. It may be assigned to a IpfcSession object.
See Also:
IpfcActionSource.AddActionListener(), IpfcActionSource.RemoveActionListener()
Direct Parent Classes:
IpfcActionListener



Method Summary

SubOnAfterModelCopy (FromMdl as IpfcModelDescriptor, ToMdl as IpfcModelDescriptor)
The listener method called after successful execution of a copy command.
SubOnAfterModelCopyAll (FromMdl as IpfcModelDescriptor, ToMdl as IpfcModelDescriptor)
This is the listener method called after successful copying of any model, (not just an explicit copy of a single model).
SubOnAfterModelDelete (Descr as IpfcModelDescriptor)
This is the listener method called after successful deletion of a model.
SubOnAfterModelErase (Descr as IpfcModelDescriptor)
This is the listener method called after successful erasing of a model.
SubOnAfterModelRename (FromMdl as IpfcModelDescriptor, ToMdl as IpfcModelDescriptor)
This is the listener method called after successful renaming of a model.



Method Detail


SubOnAfterModelCopy (FromMdl as IpfcModelDescriptor, ToMdl as IpfcModelDescriptor)

The listener method called after successful execution of a copy command.

This listener method is called only for models which are explicity copied, not for dependent models.
Parameters:
FromMdl
Descriptor of source model
ToMdl
Descriptor of target model



SubOnAfterModelCopyAll (FromMdl as IpfcModelDescriptor, ToMdl as IpfcModelDescriptor)

This is the listener method called after successful copying of any model, (not just an explicit copy of a single model).

For example, when copying an assembly and all the component parts in it, this method will be called once for each model copied.
Parameters:
FromMdl
The descriptor of model object copied from
ToMdl
The descriptor of target model object



SubOnAfterModelDelete (Descr as IpfcModelDescriptor)

This is the listener method called after successful deletion of a model.

This listener method is caled only for models which are explicitly deleted, not for dependent models. This listener method will only be invoked if the ModelActionListener is assigned to the Creo Parametric session. It may not be assigned to an individual model.
Parameters:
Descr
 



SubOnAfterModelErase (Descr as IpfcModelDescriptor)

This is the listener method called after successful erasing of a model.

This listener method is called only for models which are explicitly erased, not for dependent models. This listener method will only be invoked if the ModelActionListener is assigned to the Creo Parametric session. It may not be assigned to an individual model.
Parameters:
Descr
 



SubOnAfterModelRename (FromMdl as IpfcModelDescriptor, ToMdl as IpfcModelDescriptor)

This is the listener method called after successful renaming of a model.

This listener method is called only for models which are explicitly erased, not for dependent models.
Parameters:
FromMdl
Descriptor of model copied from
ToMdl
Descriptor of target model