AddRecipeElement is a method to add an additional RecipeElement to the recipe. Table 91 and Table 92 specify the Arguments and AddressSpace representation, respectively.
Signature
AddRecipeElement(
[in]NodeIdElementType
[in]StringElementName
[in]NodeId[]PreviousElements
[out]NodeIdElementNodeId
);
Table 91 - AddRecipeElement Method Arguments
Argument |
Description |
ElementType |
NodeId of the Object that should be added |
ElementName |
A user-readable name of the element |
PreviousElements |
The NodeIds of the directly previous Elements. If the element is the start Element use the Recipe node. |
ElementNodeId |
The NodeId of the created RecipeElement |
Table 92 - AddRecipeElement Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
AddRecipeElement |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
InputArguments |
Argument[] |
0:PropertyType |
Mandatory |
0:HasProperty |
Variable |
OutputArguments |
Argument[] |
0:PropertyType |
Mandatory |