Library | Module

Interface IpfcSolidActionListener



Description

This class defines an action listener that notifies you when operations on solids occur.

You can receive notification before and after the following events:
Direct Parent Classes:
IpfcActionListener



Method Summary

SubOnAfterFeatureCreate (Sld as IpfcSolid, Feat as IpfcFeature)
Provides an action listener called after a feature is created.
SubOnAfterFeatureDelete (Sld as IpfcSolid, FeatId as Long)
Provides an action listener called after a feature is deleted.
SubOnAfterRegen (Sld as IpfcSolid, StartFeature as IpfcFeature [optional], WasSuccessful as Boolean)
Provides a notification function called after regenerating a solid.
SubOnAfterUnitConvert (Sld as IpfcSolid, ConvertNumbers as Boolean)
Provides an action listener called after the unit conversion of a solid.
SubOnBeforeFeatureCreate (Sld as IpfcSolid, FeatId as Long)
Provides a callback function called before creating a feature.
SubOnBeforeRegen (Sld as IpfcSolid, StartFeature as IpfcFeature [optional])
Provides a notification function called before the solid is regenerated.
SubOnBeforeUnitConvert (Sld as IpfcSolid, ConvertNumbers as Boolean)
Provides an action listener called before the unit conversion of a solid.



Method Detail


SubOnAfterFeatureCreate (Sld as IpfcSolid, Feat as IpfcFeature)

Provides an action listener called after a feature is created.
Parameters:
Sld
The model that owned the feature that was created
Feat
The feature that was just created



SubOnAfterFeatureDelete (Sld as IpfcSolid, FeatId as Long)

Provides an action listener called after a feature is deleted.
Parameters:
Sld
The model that owned the feature that was deleted
FeatId
The feature identifier



SubOnAfterRegen (Sld as IpfcSolid, StartFeature as IpfcFeature [optional], WasSuccessful as Boolean)

Provides a notification function called after regenerating a solid.
Parameters:
Sld
The solid that was regenerated.
StartFeature
The starting feature of the regeneration.
WasSuccessful
This is true if the solid regenerated successfully.Otherwise, this is false.



SubOnAfterUnitConvert (Sld as IpfcSolid, ConvertNumbers as Boolean)

Provides an action listener called after the unit conversion of a solid.
Parameters:
Sld
The solid that was converted.
ConvertNumbers
This is true if the dimensions are converted. This is false if the dimensions are reinterpreted.



SubOnBeforeFeatureCreate (Sld as IpfcSolid, FeatId as Long)

Provides a callback function called before creating a feature.
Parameters:
Sld
The solid where the feature is about to be created.
FeatId
The identifier assigned to the new feature.



SubOnBeforeRegen (Sld as IpfcSolid, StartFeature as IpfcFeature [optional])

Provides a notification function called before the solid is regenerated.
Parameters:
Sld
The solid to be regenerated.
StartFeature
The starting feature of the regeneration.



SubOnBeforeUnitConvert (Sld as IpfcSolid, ConvertNumbers as Boolean)

Provides an action listener called before the unit conversion of a solid.
Parameters:
Sld
The solid to be converted.
ConvertNumbers
This is true if the dimensions are converted. This is false if the dimensions are reinterpreted.