Skip to main content

ACP in-app scripting API 2026 R1

Fabric

Last update: 16.07.2026

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

Represents fabric.

Attributes

Name Description
Fabric.active Active status of the object.
Fabric.area_price Area price of the fabric.
Fabric.area_weight Area weight of the fabric.
Fabric.cut_off_material Cut-off material used in cut-off areas of this fabric.
Fabric.cut_off_material_handling Defines how cut‑off material is used in cut‑off areas of this fabric.
Fabric.draping_material_model Draping material model.
Fabric.draping_ud_coefficient UD draping coefficient.
Fabric.drop_off_material Drop-off material used in drop-off areas of this fabric.
Fabric.drop_off_material_handling Type defining how drop-off material is used in drop-off areas of this fabric.
Fabric.enabled Indicates whether the object is enabled.
Fabric.graph_plot Graph Plot object used to configure 2D plots.
Fabric.id ID of the object.
Fabric.ignore_for_postprocessing Indicates whether this material is excluded from postprocessing.
Fabric.is_dict_item Indicates whether the object is an item in a dictionary.
Fabric.is_list_item Indicates whether the object is an item of a list.
Fabric.link_path Root path of the current node in the tree for links to this object.
Fabric.material Material of the fabric.
Fabric.name Name of the object.
Fabric.parent Parent object in the tree.
Fabric.root_path Root path of the current node in the tree.
Fabric.status Status of the object.
Fabric.status_changed Boolean flag which is set to true in C++ when up-to-date status of object changes.
Fabric.thickness Thickness of fabric.
Fabric.uid UID of the object.
Fabric.vertex Raises an error if the object has been removed from the graph.

Methods

Name Description
Fabric.capture_analysis_plot([path, size]) Saves the 2D polar plot to a file.
Fabric.clt_query([query]) Returns the properties of the classical laminate theory:.
Fabric.create_plot([query]) Generates 2D plots with the results of interest.
Fabric.find_parent(type) Steps up the tree and returns the first parent with given type.
Fabric.is_constant() Returns true if all engineering constants and strength limits of the assigned material are constant.
Fabric.obj_exists() Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph.
Fabric.serialize() Serialize to Python string.
Fabric.serialize_name_and_id() Serializes the name and ID.
Fabric.update()
Fabric.update_plot() Updates the 2D plot.
Fabric.visit(visitor) Walk through the tree and let the visitor perform action on every descendant node.

Connect with Ansys