Click or drag to resize

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.1.0 (0.5.1.0)
Syntax
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_e
State of feature as defined in swMacroFeatureSecurityOptions_e enumeration
See Also