Skip to main content

ACP in-app scripting API 2026 R1

InterfaceLayer

Last update: 16.07.2026

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

Represents interface layer.

Attributes

Name Description
InterfaceLayer.active Indicates whether the sequence entity is active.
InterfaceLayer.enabled Whether this object is currently enabled.
InterfaceLayer.global_ply_nr
InterfaceLayer.id ID of the object.
InterfaceLayer.is_dict_item Indicates whether the object is an item in a dictionary.
InterfaceLayer.is_list_item Indicates whether the object is an item of a list.
InterfaceLayer.link_path Root path of the current node in the tree for links to this object.
InterfaceLayer.name Name of the object.
InterfaceLayer.open_area_sets One or more area sets of the Interface Layer.
InterfaceLayer.oriented_selection_sets Oriented selection sets of the Interface Layer.
InterfaceLayer.parent Parent object in the tree.
InterfaceLayer.ply_offsets Returns the offset Interface Layer.
InterfaceLayer.root_path Root path of the current node in the tree.
InterfaceLayer.status Status of the object.
InterfaceLayer.status_changed Boolean flag which is set to true in C++ when up-to-date status of object changes.
InterfaceLayer.uid UID of the object.
InterfaceLayer.vertex Raises an error if the object has been removed from the graph.

Methods

Name Description
InterfaceLayer.add_open_area_set(value) Add open area set to interface layer.
InterfaceLayer.add_oriented_selection_set(...) Add oriented selection set.
InterfaceLayer.clear_open_area_sets() Clears the open area selection.
InterfaceLayer.clear_oriented_selection_sets() Clear all oriented selection sets of the interface layer.
InterfaceLayer.find_parent(type) Steps up the tree and returns the first parent with given type.
InterfaceLayer.obj_exists() Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph.
InterfaceLayer.remove_open_area_set(value) Remove open area set from interface layer.
InterfaceLayer.remove_oriented_selection_set(...) Remove oriented selection set from interface layer.
InterfaceLayer.serialize() Serialize to Python string.
InterfaceLayer.serialize_name_and_id() Serializes the name and ID.
InterfaceLayer.update()
InterfaceLayer.visit(visitor) Walk through the tree and let the visitor perform action on every descendant node.

Connect with Ansys