| MacroFeatureExOnUpdateState Method |
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.)
Namespace:
CodeStack.SwEx.MacroFeature
Assembly:
CodeStack.SwEx.MacroFeature (in CodeStack.SwEx.MacroFeature.dll) Version: 0.5.3.0 (0.5.3.0)
Syntax protected virtual swMacroFeatureSecurityOptions_e OnUpdateState(
ISldWorks app,
IModelDoc2 model,
IFeature feature
)
Protected Overridable Function OnUpdateState (
app As ISldWorks,
model As IModelDoc2,
feature As IFeature
) As swMacroFeatureSecurityOptions_e
protected:
virtual swMacroFeatureSecurityOptions_e OnUpdateState(
ISldWorks^ app,
IModelDoc2^ model,
IFeature^ feature
)
Parameters
- app
- Type: ISldWorks
Pointer to the application - model
- Type: IModelDoc2
Pointer to the model where the feature resides - feature
- Type: IFeature
Pointer to the feature to updated state
Return Value
Type:
swMacroFeatureSecurityOptions_eState of feature as defined in
swMacroFeatureSecurityOptions_e enumerationSee Also