Click or drag to resize

MacroFeatureDataExSetParametersTParams Method

Serializes the parameters of the macro feature to a structure

Namespace:  SolidWorks.Interop.sldworks
Assembly:  CodeStack.SwEx.MacroFeature (in CodeStack.SwEx.MacroFeature.dll) Version: 0.5.3.0 (0.5.3.0)
Syntax
public static void SetParameters<TParams>(
	this IMacroFeatureData featData,
	IFeature feat,
	IModelDoc2 model,
	TParams parameters
)
where TParams : class, new()

Parameters

featData
Type: IMacroFeatureData
Pointer to macro feature data
feat
Type: IFeature
Pointer to a feature
model
Type: IModelDoc2
Pointer to model document
parameters
Type: TParams
Parameters to serialize

Type Parameters

TParams
Type of parameters structure

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMacroFeatureData. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also