EdgePropertyList#

Warning

This is an internal object. It should not be used directly, and subject to change without notice.

class ansys.acp.core._tree_objects._grpc_helpers.edge_property_list.EdgePropertyList(*, _parent_object, _object_type, _attribute_name, _from_pb_constructor)#

Wrap graph edges of a specific type.

Wraps links between objects of a specific type, for instance FabricWithAngle of a stackup. This object handles the conversion of the protobuf messages to the corresponding Python object and vice-versa. self._object_list holds the Python object. The python objects are stored to support editing in-place editing. This is achieved by passing a callback function to the python object.

The edges (and parent object) is updated as soon as an item or one of its properties are changed.

Note: sort is not implemented because the model definition often depends on the order.

The LinkedObjectList should be used for graph edges without a specific type. For instance, element sets of an oriented element set.