Library | Package Java Toolkit

Interface SolidActionListener

package com.ptc.pfc.pfcSolid;

public interface SolidActionListener
  extends com.ptc.pfc.pfcBase.ActionListener



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:



Method Summary
voidOnAfterFeatureCreate (Solid Sld, Feature Feat)
    Provides an action listener called after a feature is created.
voidOnAfterFeatureDelete (Solid Sld, int FeatId)
    Provides an action listener called after a feature is deleted.
voidOnAfterRegen (Solid Sld, /*optional*/ Feature StartFeature, boolean WasSuccessful)
    Provides a notification function called after regenerating a solid.
voidOnAfterUnitConvert (Solid Sld, boolean ConvertNumbers)
    Provides an action listener called after the unit conversion of a solid.
voidOnBeforeFeatureCreate (Solid Sld, int FeatId)
    Provides a callback function called before creating a feature.
voidOnBeforeRegen (Solid Sld, /*optional*/ Feature StartFeature)
    Provides a notification function called before the solid is regenerated.
voidOnBeforeUnitConvert (Solid Sld, boolean ConvertNumbers)
    Provides an action listener called before the unit conversion of a solid.

Method Detail

OnBeforeRegen

voidOnBeforeRegen (Solid Sld, /*optional*/ Feature StartFeature)


    Provides a notification function called before the solid is regenerated.
Manual References:
Action Listeners: Solid Level Action Listeners, Action Listeners: Solid Level Action Listeners
Parameters:
Sld
The solid to be regenerated.
StartFeature
The starting feature of the regeneration.
Returns:


OnAfterRegen

voidOnAfterRegen (Solid Sld, /*optional*/ Feature StartFeature, boolean WasSuccessful)


    Provides a notification function called after regenerating a solid.
Manual References:
Action Listeners: Solid Level Action Listeners, Action Listeners: Solid Level Action Listeners
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.
Returns:


OnBeforeUnitConvert

voidOnBeforeUnitConvert (Solid Sld, boolean ConvertNumbers)


    Provides an action listener called before the unit conversion of a solid.
Manual References:
Action Listeners: Solid Level Action Listeners, Action Listeners: Solid Level Action Listeners
Parameters:
Sld
The solid to be converted.
ConvertNumbers
This is true if the dimensions are converted. This is false if the dimensions are reinterpreted.
Returns:


OnAfterUnitConvert

voidOnAfterUnitConvert (Solid Sld, boolean ConvertNumbers)


    Provides an action listener called after the unit conversion of a solid.
Manual References:
Action Listeners: Solid Level Action Listeners, Action Listeners: Solid Level Action Listeners
Parameters:
Sld
The solid that was converted.
ConvertNumbers
This is true if the dimensions are converted. This is false if the dimensions are reinterpreted.
Returns:


OnBeforeFeatureCreate

voidOnBeforeFeatureCreate (Solid Sld, int FeatId)


    Provides a callback function called before creating a feature.
Manual References:
Action Listeners: Solid Level Action Listeners, Action Listeners: Solid Level Action Listeners
Parameters:
Sld
The solid where the feature is about to be created.
FeatId
The identifier assigned to the new feature.
Returns:


OnAfterFeatureCreate

voidOnAfterFeatureCreate (Solid Sld, Feature Feat)


    Provides an action listener called after a feature is created.
Manual References:
Action Listeners: Solid Level Action Listeners, Action Listeners: Solid Level Action Listeners
Parameters:
Sld
The model that owned the feature that was created
Feat
The feature that was just created
Returns:


OnAfterFeatureDelete

voidOnAfterFeatureDelete (Solid Sld, int FeatId)


    Provides an action listener called after a feature is deleted.
Manual References:
Action Listeners: Solid Level Action Listeners
Parameters:
Sld
The model that owned the feature that was deleted
FeatId
The feature identifier
Returns: