Skip to main content

ACP in-app scripting API 2026 R1

ModelingPly

Last update: 16.07.2026

class compolyx.ModelingPly(graph, obj, parent=None, element_vd=None)

Represents modeling ply.

Attributes

Name Description
ModelingPly.active Indicates whether the sequence entity is active.
ModelingPly.angle_1_field Angle 1 Correction field.
ModelingPly.angle_2_field Angle 2 Correction field.
ModelingPly.area Area of the modeling ply.
ModelingPly.auto_draping_direction Automatic selection of draping direction.
ModelingPly.core_geometry Assigned Core Geometry.
ModelingPly.draped_fiber_directions Returns the Draped Fiber Directions of the modeling ply.
ModelingPly.draping Type of draping to be used.
ModelingPly.draping_direction The direction in which the draping starts.
ModelingPly.draping_mesh_size The mesh size for draping.
ModelingPly.draping_obj Draping properties of the modeling ply.
ModelingPly.draping_seed_point The seed point where the draping starts.
ModelingPly.draping_thickness_correction Thickness correction for draping.
ModelingPly.enabled Indicates whether the object is enabled.
ModelingPly.fiber_directions Returns the Fiber Directions of the modeling ply.
ModelingPly.global_ply_nr
ModelingPly.id ID of the object.
ModelingPly.is_dict_item Indicates whether the object is an item in a dictionary.
ModelingPly.is_list_item Indicates whether the object is an item of a list.
ModelingPly.link_path Root path of the current node in the tree for links to this object.
ModelingPly.name Name of the object.
ModelingPly.number_of_layers Number of layers of the modeling ply.
ModelingPly.on_sampling_point Flag if the modeling ply is on sampling point.
ModelingPly.orientations Returns the oriented normals of the modeling ply.
ModelingPly.oriented_selection_sets Oriented selection sets of the modeling ply.
ModelingPly.parent Parent object in the tree.
ModelingPly.ply_angle Ply angle of the modeling ply.
ModelingPly.ply_material
ModelingPly.ply_offsets Returns the offset modeling ply.
ModelingPly.price Price of the modeling ply.
ModelingPly.production_plies Production plies of the modeling ply.
ModelingPly.ref_directions Returns the Reference Directions of the modeling ply.
ModelingPly.root_path Root path of the current node in the tree.
ModelingPly.selection_rules Element Selection Rule of the modeling ply.
ModelingPly.status Status of the object.
ModelingPly.status_changed Boolean flag which is set to true in C++ when up-to-date status of object changes.
ModelingPly.taper_edges Taper Edges of the modeling ply.
ModelingPly.thickness_definition Type of thickness-definition to be used.
ModelingPly.thickness_field LookUpTable Column with tabular thicknesses or None.
ModelingPly.thickness_field_type The type of the Thickness field 'absolute' or 'relative'.
ModelingPly.uid UID of the object.
ModelingPly.use_default_draping_mesh_size Enable this property to use a default size for the draping mesh.
ModelingPly.vertex Raises an error if the object has been removed from the graph.
ModelingPly.weight Weight of the modeling ply.

Methods

Name Description
ModelingPly.add_oriented_selection_set(...) Add oriented selection set.
ModelingPly.add_selection_rule(rule[, ...]) Add rule to modeling ply.
ModelingPly.add_taper_edge(taper_edge, angle) Add taper edge to modeling ply.
ModelingPly.boundaries([offset_type])
ModelingPly.clear_oriented_selection_sets() Clear all oriented selection sets of the modeling ply.
ModelingPly.clear_selection_rules() Clear all selection_rules assigned to the modeling ply.
ModelingPly.clear_taper_edges() Clear all taper_edges assigned to the modeling ply.
ModelingPly.direction_arrows([arrow_length, ...]) Direction arrows of the ply.
ModelingPly.draping_direction_from_calculation([...]) Draping direction used for draping calculation.
ModelingPly.draping_seed_point_from_calculation([...]) Draping seed point used for draping calculation.
ModelingPly.element_normal_is_equal([...]) Returns 1 if the element normal is equal the orientation of the modeling ply, else -1.
ModelingPly.find_parent(type) Steps up the tree and returns the first parent with given type.
ModelingPly.get_short_description()
ModelingPly.obj_exists() Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph.
ModelingPly.orientation_at_element([element_id]) Returns the orientation of this modeling ply for a certain element.
ModelingPly.remove_oriented_selection_set(...) Remove oriented selection set from modeling ply.
ModelingPly.remove_selection_rule(rule) Remove rule from modeling ply.
ModelingPly.remove_taper_edge(taper_edge) Remove taper_edge from modeling ply.
ModelingPly.serialize() Serialize to Python string.
ModelingPly.serialize_name_and_id() Serializes the name and ID.
ModelingPly.update()
ModelingPly.visit(visitor) Walk through the tree and let the visitor perform action on every descendant node.
ModelingPly.write_boundaries(filename[, ...]) Write boundaries in iges/step format.

Connect with Ansys