MacroFeatureExTParams, THandler Class |
Namespace: CodeStack.SwEx.MacroFeature
public abstract class MacroFeatureEx<TParams, THandler> : MacroFeatureEx<TParams> where TParams : class, new() where THandler : class, new(), IMacroFeatureHandler
The MacroFeatureExTParams, THandler type exposes the following members.
Name | Description | |
---|---|---|
Logger | (Inherited from MacroFeatureEx.) |
Name | Description | |
---|---|---|
GetParameters |
Returns the current instance of parameters data model for the feature
(Inherited from MacroFeatureExTParams.) | |
OnEditDefinition |
Called when the Edit feature menu is clicked from the feature manager tree
| |
OnRebuild |
Called when macro feature is rebuilding
| |
OnSetDimensions(ISldWorks, IModelDoc2, IFeature, DimensionDataCollection, TParams) |
Override this function to configure the dimensions of macro feature (i.e. position, style, etc.)
(Inherited from MacroFeatureExTParams.) | |
OnSetDimensions(ISldWorks, IModelDoc2, IFeature, MacroFeatureRebuildResult, DimensionDataCollection, TParams) |
Override this function to configure the dimensions of macro feature (i.e. position, style, etc.)
(Inherited from MacroFeatureExTParams.) | |
OnUpdateState |
Called when state of the feature is changed (i.e. feature is selected, moved, updated etc.)
Use this method to provide additional dynamic security options on your feature (i.e. do not allow dragging, editing etc.)
| |
SetParameters(IModelDoc2, IFeature, IMacroFeatureData, TParams) |
Assigns the instance of data model to the macro feature parameters
(Inherited from MacroFeatureExTParams.) | |
SetParameters(IModelDoc2, IFeature, IMacroFeatureData, TParams, MacroFeatureOutdateState_e) |
Assigns the instance of data model to the macro feature parameters
(Inherited from MacroFeatureExTParams.) |