PAR.RegisterParametricPart Method

Register a parametric part
Public Shared Sub RegisterParametricPart( _ 
ByVal group As String, _ 
ByVal name As String, _ 
ByVal img As Image, _ 
ByVal callback As Func(Of Dictionary(Of String, Double), List(Of Object)), _ 
ByVal ParamArray parameters As PARVal() _ 
)
This language is not supported or no code example is available.
public static void RegisterParametricPart( 
string group
string name
Image img
Func<Dictionary<string, double>, List<object>> callback
params PARVal[] parameters 
)
This language is not supported or no code example is available.
public:  
static void RegisterParametricPart( 
String^ group
String^ name
Image^ img
Func<Dictionary<String^, double>^, List<object^>^>^ callback
...array< array< PARVal^ >^ >^ parameters 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

group
string

Group name

name
string

Name of the parametric part

img
Image

Display image or null. Preffered size 400x400

callback
Func<Dictionary<string, double>, List<object>>

Callback to generate the geometry

parameters
PARVal[]

Parameters

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition