Click or drag to resize

MacroFeatureExTParams Class

Represents macro feature which stores additional user parameters
Inheritance Hierarchy

Namespace:  CodeStack.SwEx.MacroFeature
Assembly:  CodeStack.SwEx.MacroFeature (in CodeStack.SwEx.MacroFeature.dll) Version: 0.5.3.0 (0.5.3.0)
Syntax
public abstract class MacroFeatureEx<TParams> : MacroFeatureEx
where TParams : class, new()

Type Parameters

TParams
Type of class representing parameters data model

The MacroFeatureExTParams type exposes the following members.

Properties
  NameDescription
Public propertyLogger (Inherited from MacroFeatureEx.)
Top
Methods
  NameDescription
Protected methodGetParameters
Returns the current instance of parameters data model for the feature
Protected methodOnEditDefinition
Called when the Edit feature menu is clicked from the feature manager tree
(Inherited from MacroFeatureEx.)
Protected methodOnRebuild
Called when macro feature is rebuilding
Protected methodOnSetDimensions(ISldWorks, IModelDoc2, IFeature, DimensionDataCollection, TParams)
Override this function to configure the dimensions of macro feature (i.e. position, style, etc.)
Protected methodOnSetDimensions(ISldWorks, IModelDoc2, IFeature, MacroFeatureRebuildResult, DimensionDataCollection, TParams)
Override this function to configure the dimensions of macro feature (i.e. position, style, etc.)
Protected methodOnUpdateState
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.)
Protected methodSetParameters(IModelDoc2, IFeature, IMacroFeatureData, TParams)
Assigns the instance of data model to the macro feature parameters
Protected methodSetParameters(IModelDoc2, IFeature, IMacroFeatureData, TParams, MacroFeatureOutdateState_e)
Assigns the instance of data model to the macro feature parameters
Top
Remarks
Mark the class as COM visible with ComVisibleAttribute
See Also