ansys.systemcoupling.core.adaptor.impl.types.NamedContainer#
- class ansys.systemcoupling.core.adaptor.impl.types.NamedContainer(name=None, parent=None)#
Provides a container for named instances of
Containerobjects.A
NamedContainerobject is aContainerobject, similar to a Python dictionary object.Generally, many such objects can be created with different names.
- Attributes:
- command_names: list[str]
List of mames of the commands.
Methods
__init__([name, parent])Initialize an instance of the
NamedContainerclass.create(name)Create a named object.
Get object names.
get_property_state(prop)Get the state of the
propproperty .Get the state of the object.
items()Items.
keys()Object names.
print_state([out, indent_factor])Print the state of the object.
set_property_state(prop, value)Set the state of the
propproperty tovalue.set_state(state)Set the state of the object.
set_sycproxy(sycproxy)Set sycproxy object.
to_python_keys(value)Convert value to have keys with PySystemCoupling names.
to_python_name(name)Convert the native System Coupling identifier to a Python name.
to_syc_keys(value)Convert value to have keys with the native System Coupling names.
to_syc_name(name)Convert Python name to a native System Coupling identifier.
values()Object values.
Attributes
command_namesobj_nameSystem Coupling name of this object.
pathPath of the object.
syc_namesyc_pathPath of the object in native System Coupling form.
sycproxyProxy object.