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
Container
objects.A
NamedContainer
object is aContainer
object, 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
NamedContainer
class.create
(name)Create a named object.
Get object names.
get_property_state
(prop)Get the state of the
prop
property .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
prop
property 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_names
obj_name
System Coupling name of this object.
path
Path of the object.
syc_name
syc_path
Path of the object in native System Coupling form.
sycproxy
Proxy object.