| 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()
<ExtensionAttribute>
Public Shared Sub SetParameters(Of TParams As {Class, New}) (
featData As IMacroFeatureData,
feat As IFeature,
model As IModelDoc2,
parameters As TParams
)
public:
[ExtensionAttribute]
generic<typename TParams>
where TParams : ref class, gcnew()
static void SetParameters(
IMacroFeatureData^ featData,
IFeature^ feat,
IModelDoc2^ model,
TParams parameters
)
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