create_node#
- ansys.optislang.core.tcp.server_commands.create_node(type_: str, name: str | None = None, algorithm_type: str | None = None, integration_type: str | None = None, mop_node_type: str | None = None, node_type: str | None = None, parent_uid: str | None = None, design_flow: str | None = None, password: str | None = None) str #
Generate JSON string of create_node command.
- Parameters:
- type_: str
Type.
- name: Optional[str], optional
Name, by default
None
.- algorithm_type
Optional
[str
],optional
Algorithm type, e. g. ‘algorithm_plugin’, by default
None
.- integration_type
Optional
[str
],optional
Integration type, e. g. ‘integration_plugin’, by default
None
.- mop_node_type
Optional
[str
],optional
MOP node type, e. g. ‘python_based_mop_node_plugin’, by default
None
.- node_type: Optional[str], optional
Node type, e. g. ‘python_based_node_plugin`, by default
None
.- parent_uid: Optional[str], optional
Parent uid entry, by default
None
.- design_flow: Optional[str], optional
Design flow, optional values are [“RECEIVE”, “SEND”, “RECEIVE_SEND”], by default
None
.- password
Optional
[str
],optional
Password, by default
None
.
- Returns:
str
JSON string of create_node command.