Click or drag to resize

MacroFeatureExTParamsSetParameters Method (IModelDoc2, IFeature, IMacroFeatureData, TParams, MacroFeatureOutdateState_e)

Assigns the instance of data model to the macro feature parameters

Namespace:  CodeStack.SwEx.MacroFeature
Assembly:  CodeStack.SwEx.MacroFeature (in CodeStack.SwEx.MacroFeature.dll) Version: 0.5.3.0 (0.5.3.0)
Syntax
protected void SetParameters(
	IModelDoc2 model,
	IFeature feat,
	IMacroFeatureData featData,
	TParams parameters,
	out MacroFeatureOutdateState_e state
)

Parameters

model
Type: IModelDoc2
Pointer to model
feat
Type: IFeature
Pointer to feature
featData
Type: IMacroFeatureData
Pointer to feature data
parameters
Type: TParams
Parameters data model
state
Type: CodeStack.SwEx.MacroFeature.BaseMacroFeatureOutdateState_e
Current state of the parameters
Remarks
Call this method before calling the IFeature::ModifyDefinition
See Also