Skip to main content

ACP in-app scripting API 2026 R1

Stackup

Last update: 16.07.2026

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

Represents stackup.

Attributes

Name Description
Stackup.active Active status of the object.
Stackup.area_price Price per area of the Stackup.
Stackup.area_weight Area weight of the Stackup.
Stackup.cut_off_material Cut-off material used in cut-off areas of this Stackup.
Stackup.cut_off_material_handling Defines how cut‑off material is used in cut‑off areas of this stackup.
Stackup.draping_material_model Draping material model.
Stackup.draping_ud_coefficient UD Draping Coefficient.
Stackup.drop_off_material Drop-off material used in drop-off areas of this Stackup.
Stackup.drop_off_material_handling Type defining how drop-off material is used in drop-off areas of this stackup.
Stackup.enabled Indicates whether the object is enabled.
Stackup.fabrics Fabrics property of the Stackup.
Stackup.graph_plot Graph Plot object used to configure 2D plots.
Stackup.id ID of the object.
Stackup.is_dict_item Indicates whether the object is an item in a dictionary.
Stackup.is_list_item Indicates whether the object is an item of a list.
Stackup.layup_sequence Layup Sequence of the Stackup can be 'Top-Down' or 'Bottom-Up'.
Stackup.link_path Root path of the current node in the tree for links to this object.
Stackup.name Name of the object.
Stackup.parent Parent object in the tree.
Stackup.root_path Root path of the current node in the tree.
Stackup.status Status of the object.
Stackup.status_changed Boolean flag which is set to true in C++ when up-to-date status of object changes.
Stackup.symmetry Symmetry of the Stackup can be 'No Symmetry', 'Even Symmetry' or 'Odd Symmetry'.
Stackup.thickness Thickness of the Stackup.
Stackup.uid UID of the object.
Stackup.vertex Raises an error if the object has been removed from the graph.

Methods

Name Description
Stackup.add_fabric(fabric[, angle]) Add fabric at end of fabrics of the stackup.
Stackup.capture_analysis_plot([path, size]) Saves the 2D polar plot to a file.
Stackup.clear_fabrics() Clear all fabrics.
Stackup.clt_query([query]) Returns the properties of the classical laminate theory.
Stackup.create_plot([query, core_scale_factor]) Generates 2D plots with the results of interest.
Stackup.find_parent(type) Steps up the tree and returns the first parent with given type.
Stackup.get_ordered_fabrics() Returns all fabrics and orientations including symmetry and layup sequence option.
Stackup.insert_fabric(pos, fabric, angle) Insert fabric at given position.
Stackup.is_constant() Returns true if all engineering constants and strength limits of the assigned fabrics are constant.
Stackup.obj_exists() Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph.
Stackup.remove_fabric(pos) Remove fabric from position.
Stackup.serialize() Serialize to Python string.
Stackup.serialize_name_and_id() Serializes the name and ID.
Stackup.update()
Stackup.update_plot() updates the data of the 2D plot.
Stackup.visit(visitor) Walk through the tree and let the visitor perform action on every descendant node.

Connect with Ansys