Optionaladdthe browse name of the new node to instantiate
Optionalcomponentthe parent Object holding this object note
OptionalconditionOptionalconditionOptionalconditionOptionalconditionOptionalcopyOptionalcopyshall we also replicate the HasModelling rule reference ?
Optionaldescriptionan optional description
if not provided the default description of the corresponding Type will be used.
Optionaldisplayan optional displayName
if not provided the default description of the corresponding browseName will be used.
OptionalencodingOptionaleventOptionaleventOptionalmaxOptionalmodellingmodellingRule
Optionalnamespacethe namespace in which the node shall be instantiated
(if not specified, the default instance namespace (own namespace) of the addressSpace will be used)
Optionalnodea (optional) predefined nodeId to assigned to the instance If not specified, a default nodeid will be created.
OptionalnotifierOptionaloptionalsa list of components and properties names that have a HasModellingRule of Optional in the type definition that we want to instantiate. Note:
Optionalorganizedthe parent Folder holding this object
note
Optionalparentthe declared parent, as ParentNodeId in a NodeSet: the instance's parent
and what its symbolic name is built from, even when the only reference
between the two is Organizes (a folder a type organizes is
<Type>_<Folder> in the ModelCompiler's NodeIds.csv).
See AddBaseNodeOptions.parentNodeId.
Optionalreferencesadditional references to create on the new node at construction time.
Use it to link the instance to a parent through an aggregate reference that has no dedicated option (HasOrderedComponent, HasPhysicalComponent, HasContainedComponent, HasAttachedComponent ...):
references: [{ referenceType: "HasOrderedComponent", isForward: false, nodeId: listNode }]
Because the reference exists when the node is created, the NodeIdManager
derives the symbolic name from that parent (List_First), exactly as it
does for componentOf; adding the reference afterwards would leave the
node named without its parent. Such a parent also counts when deciding
whether modelling rules are copied (an instance declared inside a type).
note