Properties
- Property InputsCount() As (Read Only)
-
Returns the number of Inputs.
- Example:
- The following example retrieves in inputsCount
the number of Inputs of hybridShapeInstance:
inputsCount = hybridShapeInstance.InputsCount
- Property OutputsCount() As (Read Only)
-
Returns the number of Outputs.
- Example:
- The following example retrieves in outputsCount
the number of Outputs of hybridShapeInstance:
outputsCount = hybridShapeInstance.OutputsCount
- Property ParametersCount() As (Read Only)
-
Returns the number of Parameters.
- Example:
- The following example retrieves in parametersCount
the number of parameters of hybridShapeInstance:
parametersCount = hybridShapeInstance.ParametersCount
Methods
- Func GetInput( iName) As
-
Gets an input of a shape instance by its name.
- Parameters:
-
- iName
- The name of the input of the shape instance dd>
- Returns:
- The input, if found
- Example:
- The following example tests if the input was found:
Set input = shapeInstance.GetInput("Input1") If TypeName(input)="Nothing" Then MsgBox "Input not found" End If
- Parameters:
-
- iName
- The name of the input of the shape instance dd>
- Returns:
- The input, if found
- Example:
- The following example tests if the input was found:
Set input = shapeInstance.GetInput("Input1") If TypeName(input)="Nothing" Then MsgBox "Input not found" End If
- Parameters:
-
- iPosition
- The position dd>
- Returns:
- The input, if found
- Example:
- The following example tests if the input was found:
Set input = hybridShapeInstance.GetInputFromPosition(2) If TypeName(input)="Nothing" Then MsgBox "Input not found" End If
- Parameters:
-
- iPosition
- The position dd>
- Returns:
- The input, if found
- Example:
- The following example tests if the input was found:
Set input = hybridShapeInstance.GetInputFromPosition(2) If TypeName(input)="Nothing" Then MsgBox "Input not found" End If
- Parameters:
-
- iName
- The name of the output of the shape instance dd>
- Returns:
- The output, if found
- Example:
- The following example tests if the output was found:
Set output = shapeInstance.GetOuput("Output1") If TypeName(output)="Nothing" Then MsgBox "Output not found" End If
- Parameters:
-
- iPosition
- The position dd>
- Returns:
- The output, if found
- Example:
- The following example tests if the output was found:
Set output = shapeInstance.GetOuputFromPosition(2) If TypeName(output)="Nothing" Then MsgBox "Output not found" End If
- Parameters:
-
- iName
- The name of the parameter of the shape instance dd>
- Returns:
- The parameter, if found
- Example:
- The following example tests if the parameter was found:
Set parameter = shapeInstance.GetParameter("Parameter1") If TypeName(parameter)="Nothing" Then MsgBox "Parameter not found" End If
- Parameters:
-
- iPosition
- The position dd>
- Returns:
- The parameter, if found
- Example:
- The following example tests if the parameter was found:
Set parameter = hybridShapeInstance.GetParameterFromPosition(2) If TypeName(input)="Nothing" Then MsgBox "Parameter not found" End If
- Parameters:
-
- iName
- The input name dd>
- iInput
- The element wich will be input of the shape instance
All types of object are possibly supported. - Example:
- The following example defines the input of a shape instance
The input will be a point and its name will be Input1.
shapeInstance.PutInput "Input1",point
- Parameters:
-
- iName
- The input name dd>
- iInput
- The element wich will be input of the shape instance
All types of object are possibly supported. - Example:
- The following example defines the input of a shape instance
The input will be a point and its name will be Input1.
shapeInstance.PutInput "Input1",point