Skip to main content

ACP scripting interface 2025 R2

EdgeSet

Last update: 16.07.2025

class compolyx.EdgeSet(graph, obj=None, parent=None)

Edge Set class.

Attributes

Name Description
EdgeSet.active Active status of object
EdgeSet.changed Status boolean
EdgeSet.display_data The edge set mesh plot
EdgeSet.edge_set_type Edge Set Types. Available options: "By Reference", "By Nodes"
EdgeSet.element_set
EdgeSet.enabled Whether this object is currently enabled or not
EdgeSet.id ID of object
EdgeSet.is_closed Edge Set is closed
EdgeSet.is_dict_item Specifies whether the object is an item of a dict
EdgeSet.is_list_item Specifies whether the object is an item of a list
EdgeSet.limit_angle Edge Set limit angle for creation of edge set by reference
EdgeSet.link_path Root path of the current node in the tree for links to this object
EdgeSet.locked Edge Set is imported and cannot be changed
EdgeSet.mesh The edge set mesh
EdgeSet.name Name of object
EdgeSet.node_labels Node labels defining the NodeSet (only if type='By Nodes')
EdgeSet.nodes Node indexes/labels of the Edge Set
EdgeSet.origin Edge Set origin for createion of edge set by reference
EdgeSet.parent Parent object in tree
EdgeSet.root_path Root path of the current node in the tree
EdgeSet.status Status of the object
EdgeSet.status_changed Boolean flag which is set to true in C++ when up-to-date status of object changes
EdgeSet.uid UID of object
EdgeSet.vertex Throws an error if the object has been removed from the graph.

Methods

Name Description
EdgeSet.average_normal_direction()
EdgeSet.center()
EdgeSet.find_parent(type) Steps up the tree and returns the first parent with given type
EdgeSet.get_nodes() Return Python list with nodes as objects
EdgeSet.get_short_description()
EdgeSet.obj_exists() Checks if __obj still references the C++ object (i.e. has not been reset to None by self._delete) and exists in the graph
EdgeSet.serialize() Serialize to Python string
EdgeSet.serialize_name_and_id() Helper function to serialize name and ID
EdgeSet.update()
EdgeSet.visit(visitor) Walk through the tree and let the visitor perform an action on every descendant node

Connect with Ansys