Skip to main content
Version: 2026R1

ImportedModelingPly

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

Attributes

NameDescription
ImportedModelingPly.activeWhether the ply is active or surpressed
ImportedModelingPly.angle_1_fieldAngle 1 Correction field
ImportedModelingPly.angle_2_fieldAngle 2 Correction field
ImportedModelingPly.drapingType of draping to be used
ImportedModelingPly.enabledWhether this object is currently enabled or not
ImportedModelingPly.idID of object
ImportedModelingPly.is_dict_itemSpecifies whether the object is an item of a dict
ImportedModelingPly.is_list_itemSpecifies whether the object is an item of a list
ImportedModelingPly.link_pathRoot path of the current node in the tree for links to this object
ImportedModelingPly.mesh
ImportedModelingPly.mesh_geometryGeometry that defines the mesh/surface of this ply
ImportedModelingPly.mesh_import_typeDefines the source of the imported mesh
ImportedModelingPly.nameName of object
ImportedModelingPly.offsetDefines whether the imported mesh defines the bottom, middle or top surface of the ply
ImportedModelingPly.parentParent object in tree
ImportedModelingPly.ply_anglePly Angle of the Imported Modeling Ply
ImportedModelingPly.ply_materialMaterial of the Modeling Ply
ImportedModelingPly.production_pliesAttached imported production plies
ImportedModelingPly.reference_direction_fieldA lookup table column or None for external reference directions
ImportedModelingPly.root_pathRoot path of the current node in the tree
ImportedModelingPly.rosette_selection_methodDefines the rosette selection method
ImportedModelingPly.rosettesRosettes of the Imported Modeling Ply.
ImportedModelingPly.rotation_angleAngle to rotate the reference directions (in degree).
ImportedModelingPly.statusStatus of the object
ImportedModelingPly.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes.
ImportedModelingPly.thickness_definitionType of thickness-definition to be used (from table, nominal)
ImportedModelingPly.thickness_fieldLookUpTable Column with tabular thicknesses or None
ImportedModelingPly.thickness_field_typeThe type of the Thickness field 'absolute' or 'relative'
ImportedModelingPly.uidUID of object
ImportedModelingPly.vertexThrows an error if the object has been removed from the graph.

Methods

NameDescription
ImportedModelingPly.clear_rosettes()Clear rosettes of imported modeling ply
ImportedModelingPly.find_parent(type)Function steps up the tree and returns the first parent with given type
ImportedModelingPly.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
ImportedModelingPly.serialize_name_and_id()Helper function to serialize name and ID
ImportedModelingPly.update()
ImportedModelingPly.visit(visitor)Walk through the tree and let the visitor perform action on every descendant node