Skip to main content

ACP in-app scripting API 2026 R1

ImportedSolidModel

Last update: 16.07.2026

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

Imported solid model class

Attributes

Name Description
ImportedSolidModel.active Solid model is active.
ImportedSolidModel.analysis_plies Analysis plies of the solid model.
ImportedSolidModel.changed Status boolean.
ImportedSolidModel.coordinate_system_index Coordinate System index.
ImportedSolidModel.cut_off_geometry_objs Cut-Off Geometry objects.
ImportedSolidModel.delete_bad_elements Boolean whether to delete the erroneous elements.
ImportedSolidModel.disable_numbering_updates Debug option to disable all numbering updates.
ImportedSolidModel.disable_skin_components Debug option to disable the creation of skin components.
ImportedSolidModel.drop_hanging_nodes If the hanging nodes are exported or dropped.
ImportedSolidModel.element_index Element offset index.
ImportedSolidModel.enabled Indicates whether the object is enabled.
ImportedSolidModel.ext_id ID of corresponding Mechanical Model within WB archive (ComponentID).
ImportedSolidModel.external_file_path The file path where the CAD geometry is loaded from.
ImportedSolidModel.format File format of the imported mesh.
ImportedSolidModel.global_cut_off_material Global material of the cut-off elements.
ImportedSolidModel.id ID of the object.
ImportedSolidModel.is_dict_item Indicates whether the object is an item in a dictionary.
ImportedSolidModel.is_list_item Indicates whether the object is an item of a list.
ImportedSolidModel.is_uptodate Update status of the object.
ImportedSolidModel.layup_mapping_objects Objects which define the scoping and details of each mapping step.
ImportedSolidModel.link_path Root path of the current node in the tree for links to this object.
ImportedSolidModel.locked Solid model is generated from an imported source and cannot be changed.
ImportedSolidModel.material_index Material index.
ImportedSolidModel.mesh_components Element sets of the solid mesh.
ImportedSolidModel.minimum_volume Defines the minimum volume of each solid element.
ImportedSolidModel.name Name of the object.
ImportedSolidModel.node_index Node offset index.
ImportedSolidModel.num_coordinate_systems
ImportedSolidModel.num_materials
ImportedSolidModel.num_solid_elements
ImportedSolidModel.num_solid_nodes
ImportedSolidModel.num_solid_sections
ImportedSolidModel.parent Parent object in the tree.
ImportedSolidModel.root_path Root path of the current node in the tree.
ImportedSolidModel.section_index Section offset index.
ImportedSolidModel.status Status of the object.
ImportedSolidModel.status_changed Boolean flag which is set to true in C++ when up-to-date status of object changes.
ImportedSolidModel.transfer_all_sets Whether to transfer all edge and element sets to the solid model or not.
ImportedSolidModel.transferred_edge_sets Edge sets to transfer to solid model.
ImportedSolidModel.transferred_element_sets Element sets to transfer to solid model.
ImportedSolidModel.uid UID of the object.
ImportedSolidModel.unit_system Unit system type of the imported mesh.
ImportedSolidModel.use_default_coordinate_system_index Use consecutive coordinate system numbering.
ImportedSolidModel.use_default_element_index Use consecutive element numbering.
ImportedSolidModel.use_default_material_index Use consecutive material numbering.
ImportedSolidModel.use_default_node_index Use consecutive node numbering.
ImportedSolidModel.use_default_section_index Use consecutive section numbering.
ImportedSolidModel.use_solid_model_prefix If the solid model name is used as a prefix for all components exported to the *cdb file.
ImportedSolidModel.use_solsh_elements If selected solid-shell elements are written to the *cdb file.
ImportedSolidModel.vertex Raises an error if the object has been removed from the graph.
ImportedSolidModel.warping_limit Defines the maximum allowable warping limit.
ImportedSolidModel.write_degenerated_elements If set to false no drop-off and cut-off elements are written to the *cdb file.

Methods

Name Description
ImportedSolidModel.clear_generated_data() Function clears generated solid model but keeps all definitions.
ImportedSolidModel.copy_cut_off_geometry_obj(source) Copy a Cut-Off Geometry.
ImportedSolidModel.copy_layup_mapping_object(source) Copy a Layup Mapping object.
ImportedSolidModel.create_cut_off_geometry_obj(name) Create a new cut-off geometry object.
ImportedSolidModel.create_layup_mapping_object([...]) Create a new layup mapping object.
ImportedSolidModel.create_solid_element_set(name) For internal use only: Creates a solid element set.
ImportedSolidModel.export_skin(path[, ...]) Creates a geometry file (STP or IGES) of the solid model based on the tessellated FE mesh.
ImportedSolidModel.find_parent(type) Steps up the tree and returns the first parent with given type.
ImportedSolidModel.get_short_description()
ImportedSolidModel.has_reinforcing_objects() Boolean whether Layup Mapping objects of type reinforcing are present.
ImportedSolidModel.import_initial_mesh([...]) Load the solid mesh without updating the layup mapping.
ImportedSolidModel.mapping_statistics() Returns the statistics of the layup mapping (number of elements, volumes, mass etc.).
ImportedSolidModel.obj_exists() Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph.
ImportedSolidModel.refresh_external_source([...]) Reloads the mesh from the external source.
ImportedSolidModel.remove_global_cut_off_material() Removes the global cutoff material of the SolidModel.
ImportedSolidModel.remove_global_drop_off_material() Removes the global dropoff material of the SolidModel.
ImportedSolidModel.serialize() Returns the Python serialization string.
ImportedSolidModel.serialize_name_and_id() Serializes the name and ID.
ImportedSolidModel.shell_elements() Function returns the shell elements where this extrusion operates on.
ImportedSolidModel.solid_elements(...) * Parameters:.
ImportedSolidModel.update()
ImportedSolidModel.update_mapping_statistics() Computes the mapping statistics per ply to compare the original layup with the mapped data.
ImportedSolidModel.visit(visitor) Walk through the tree and let the visitor perform action on every descendant node.
ImportedSolidModel.write_h5_and_cdb_file(...) Writes the .h5 and .cdb file for ANSYS Workbench application.
ImportedSolidModel.write_solid_model(path) Export solid model as FE model for ANSYS.

Connect with Ansys