register_location_as_parameter#

ansys.optislang.core.tcp.server_commands.register_location_as_parameter(actor_uid: str, location: dict, name: str | None = None, reference_value: Any | None = None, password: str | None = None) str#

Generate JSON string of register_location_as_parameter command.

Parameters:
actor_uid: str

Actor uid entry.

location: dict

Dictionary with location properties.

name: Optional[str], optional

Parameter name.

reference_value: Optional[Any], optional

Parameter reference value.

passwordOptional[str], optional

Password, by default None.

Returns:
str

JSON string of register_location_as_parameter command.