Click or drag to resize

MacroFeatureExTParamsOnSetDimensions Method (ISldWorks, IModelDoc2, IFeature, MacroFeatureRebuildResult, DimensionDataCollection, TParams)

Override this function to configure the dimensions of macro feature (i.e. position, style, 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 void OnSetDimensions(
	ISldWorks app,
	IModelDoc2 model,
	IFeature feature,
	MacroFeatureRebuildResult rebuildResult,
	DimensionDataCollection dims,
	TParams parameters
)

Parameters

app
Type: ISldWorks
Pointer to application
model
Type: IModelDoc2
Pointer to current model
feature
Type: IFeature
Pointer to macro feature
rebuildResult
Type: CodeStack.SwEx.MacroFeature.BaseMacroFeatureRebuildResult
dims
Type: CodeStack.SwEx.MacroFeature.DataDimensionDataCollection
Pointer to dimensions of macro feature
parameters
Type: TParams
Current instance of parameters (including the values of dimensions)
Remarks
Use the SetOrientation(DimensionData, Point, Vector) helper method to set the dimension orientation and position based on its values
See Also