MacroFeatureExTParams Class |
Namespace: CodeStack.SwEx.MacroFeature
public abstract class MacroFeatureEx<TParams> : MacroFeatureEx where TParams : class, new()
The MacroFeatureExTParams 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
| |
OnEditDefinition |
Called when the Edit feature menu is clicked from the feature manager tree
(Inherited from MacroFeatureEx.) | |
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.)
| |
OnSetDimensions(ISldWorks, IModelDoc2, IFeature, MacroFeatureRebuildResult, DimensionDataCollection, TParams) |
Override this function to configure the dimensions of macro feature (i.e. position, style, etc.)
| |
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.)
(Inherited from MacroFeatureEx.) | |
SetParameters(IModelDoc2, IFeature, IMacroFeatureData, TParams) |
Assigns the instance of data model to the macro feature parameters
| |
SetParameters(IModelDoc2, IFeature, IMacroFeatureData, TParams, MacroFeatureOutdateState_e) |
Assigns the instance of data model to the macro feature parameters
|