SolidModel
Last update: 16.07.2026class compolyx.SolidModel(graph, obj, parent=None)
Solid Model class
Attributes
| Name | Description |
|---|---|
SolidModel.active |
Solid-Model active. |
SolidModel.analysis_plies |
Analysis plies of the solid model. |
SolidModel.changed |
Status boolean. |
SolidModel.connect_butt_joined_plies |
Do not make drop-offs between butt-joined plies if set to True. |
SolidModel.coordinate_system_index |
Coordinate System index. |
SolidModel.cut_off_geometry_objs |
Cut-Off Geometry objects. |
SolidModel.delete_bad_elements |
Boolean whether to delete the erroneous elements. |
SolidModel.disable_dropoff_sets_on_bottom |
Elements where the drop-offs on bottom are disabled. |
SolidModel.disable_dropoff_sets_on_top |
Elements of where the drop-offs on top are disabled. |
SolidModel.disable_dropoffs_on_bottom |
Boolean whether to disable the drop-off elements on bottom surface. |
SolidModel.disable_dropoffs_on_top |
Boolean whether to disable the drop-off elements on top surface. |
SolidModel.disable_numbering_updates |
Debug option to disable all numbering updates. |
SolidModel.disable_skin_components |
Debug option to disable the creation of skin components. |
SolidModel.drop_hanging_nodes |
If the hanging nodes are exported or dropped. |
SolidModel.drop_off_type |
Drop-off type. |
SolidModel.element_index |
Element offset index. |
SolidModel.element_sets |
One or more element sets of the solid model. |
SolidModel.enabled |
Indicates whether the object is enabled. |
SolidModel.ex_type |
Extrusion type. |
SolidModel.extrusion_guides |
Extrusion Guides. |
SolidModel.global_cut_off_material |
Global material of the cut-off elements. |
SolidModel.global_drop_off_material |
Global material of the drop-off elements. |
SolidModel.id |
ID of the object. |
SolidModel.is_dict_item |
Indicates whether the object is an item in a dictionary. |
SolidModel.is_list_item |
Indicates whether the object is an item of a list. |
SolidModel.is_uptodate |
Update status of the object. |
SolidModel.link_path |
Root path of the current node in the tree for links to this object. |
SolidModel.locked |
Solid model is generated from an imported source and cannot be changed. |
SolidModel.material_index |
Material index. |
SolidModel.max_thickness |
Maximum thickness of solid elements. |
SolidModel.mesh_components |
Element sets of the solid mesh. |
SolidModel.minimum_volume |
Defines the minimum volume of each solid element. |
SolidModel.name |
Name of the object. |
SolidModel.node_index |
Node offset index. |
SolidModel.num_coordinate_systems |
|
SolidModel.num_materials |
|
SolidModel.num_solid_elements |
|
SolidModel.num_solid_nodes |
|
SolidModel.num_solid_sections |
|
SolidModel.offset_type |
Offset type. |
SolidModel.parent |
Parent object in the tree. |
SolidModel.ply_group_pointers |
Ply group pointers for user defined extrusion. |
SolidModel.root_path |
Root path of the current node in the tree. |
SolidModel.section_index |
Section offset index. |
SolidModel.skip_elements_without_plies |
Enable this option to automatically skip elements without plies from the region of extrusion. |
SolidModel.snap_to_geometry_objs |
Snap to Geometry objects. |
SolidModel.status |
Status of the object. |
SolidModel.status_changed |
Boolean flag which is set to true in C++ when up-to-date status of object changes. |
SolidModel.transfer_all_sets |
Whether to transfer all edge and element sets to the solid model or not. |
SolidModel.transferred_edge_sets |
Edge sets to transfer to solid model. |
SolidModel.transferred_element_sets |
Element sets to transfer to solid model. |
SolidModel.uid |
UID of the object. |
SolidModel.use_default_coordinate_system_index |
Use consecutive coordinate system numbering. |
SolidModel.use_default_element_index |
Use consecutive element numbering. |
SolidModel.use_default_material_index |
Use consecutive material numbering. |
SolidModel.use_default_node_index |
Use consecutive node numbering. |
SolidModel.use_default_section_index |
Use consecutive section numbering. |
SolidModel.use_solid_model_prefix |
If the solid model name is used as a prefix for all components exported to the *cdb file. |
SolidModel.use_solsh_elements |
If selected solid-shell elements are written to the *cdb file. |
SolidModel.vertex |
Raises an error if the object has been removed from the graph. |
SolidModel.warping_limit |
Defines the maximum allowable warping limit. |
SolidModel.write_degenerated_elements |
If set to false no drop-off and cut-off elements are written to the *cdb file. |
Methods
| Name | Description |
|---|---|
SolidModel.add_disable_dropoff_set_on_bottom(set) |
Add set where the drop-offs on bottom surface are disabled. |
SolidModel.add_disable_dropoff_set_on_top(set) |
Add set where the drop-offs on top surface are disabled. |
SolidModel.add_element_set(element_set) |
Add Element set to solid model. |
SolidModel.clear_disable_dropoff_sets_on_bottom() |
Clear sets where the drop-offs on bottom are disabled. |
SolidModel.clear_disable_dropoff_sets_on_top() |
Clear sets where the drop-offs on top are disabled. |
SolidModel.clear_element_sets() |
Clear element sets of solid model. |
SolidModel.clear_generated_data() |
Function clears generated solid model but keeps all definitions. |
SolidModel.copy_cut_off_geometry_obj(source) |
Copy a Cut-Off Geometry. |
SolidModel.copy_extrusion_guide(source) |
Copy a Extrusion Guide. |
SolidModel.copy_snap_to_geometry_obj(source) |
Copy a Snap-To Geometry. |
SolidModel.create_cut_off_geometry_obj(name) |
Create a new cut-off geometry object. |
SolidModel.create_extrusion_guide(name[, ...]) |
Create a new extrusion guide. |
SolidModel.create_snap_to_geometry_obj(name) |
Create a new snap-to-geometry object. |
SolidModel.export_skin(path[, midside_nodes]) |
Creates a geometry file (STP or IGES) of the solid model based on the tessellated FE mesh. |
SolidModel.find_parent(type) |
Steps up the tree and returns the first parent with given type. |
SolidModel.get_short_description() |
|
SolidModel.obj_exists() |
Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
SolidModel.remove_element_set(element_set) |
Remove element set from the solid model. |
SolidModel.remove_global_cut_off_material() |
Removes the global cutoff material of the SolidModel. |
SolidModel.remove_global_drop_off_material() |
Removes the global dropoff material of the SolidModel. |
SolidModel.reorder_extrusion_guides(source, ...) |
Reorders the extrusion guides. |
SolidModel.serialize() |
|
SolidModel.serialize_name_and_id() |
Serializes the name and ID. |
SolidModel.shell_elements() |
Function returns the shell elements where this extrusion operates on. |
SolidModel.solid_elements(...) |
* Parameters:. |
SolidModel.update() |
|
SolidModel.visit(visitor) |
Walk through the tree and let the visitor perform action on every descendant node. |
SolidModel.write_h5_and_cdb_file(path, ...) |
Writes the .h5 and .cdb file for ANSYS Workbench application. |
SolidModel.write_solid_model(path) |
Export solid model as FE model for ANSYS. |