    

 ## On this page

  

 

 # create\_imported\_solid\_model

 Last update: 16.07.2026 

<a id="compolyx.Model.create_imported_solid_model"></a>

## Model.create\_imported\_solid\_model(name, id='', active=True, external\_file\_path=None, unit\_system='undefined', format='ansys:cdb', ext\_id='', use\_default\_element\_index=True, element\_index=0, use\_default\_node\_index=True, node\_index=0, use\_default\_section\_index=True, section\_index=0, use\_default\_material\_index=True, material\_index=0, use\_default\_coordinate\_system\_index=True, coordinate\_system\_index=0, use\_solsh\_elements=False, drop\_hanging\_nodes=True, use\_solid\_model\_prefix=True, write\_degenerated\_elements=True, delete\_bad\_elements=True, warping\_limit=0.4, minimum\_volume=0.0, global\_cut\_off\_material=None, transfer\_all\_sets=True, transferred\_element\_sets=\[\], transferred\_edge\_sets=\[\], locked=False, from\_pre=False)

Create a new solid model.

### Parameters

- name: The name of the solid model.
- id: The ID of the solid model.
- active: Active status of the solid model.
- external\_file\_path: File path to the external source.
- unit\_system: Unit system of the imported mesh.
- format: File format of the external source.
- use\_default\_element\_index: Consecutive element numbering if set to true.
- element\_index: Start index for first element (only relevant if use\_default\_element\_index).
- use\_default\_node\_index: Consecutive node numbering if set to true.
- node\_index: Start index for first node (only relevant if use\_default\_node\_index).
- use\_default\_section\_index: Consecutive section numbering if set to true.
- section\_index: Start index for first element (only relevant if use\_default\_section\_index).
- use\_default\_material\_index: Consecutive material numbering if set to true.
- material\_index: Start index for first element (only relevant if use\_default\_material\_index).
- use\_default\_coordinate\_system\_index: Consecutive coordinate system numbering if set to true.
- coordinate\_system\_index: Start index for first coordinate system (only relevant if use\_default\_coordinate\_system\_index).
- use\_solsh\_elements: The solid model is created out of solsh elements.
- drop\_hanging\_nodes: Whether to skip mid-side nodes that are not shared by adjacent elements. Only relevant when the object has applies cut-off geometries and a quadratic mesh.
- use\_solid\_model\_prefix: The name of the solid model is used as a prefix for all components written to the \*cdb file.
- write\_degenerated\_elements: If false, degenerated (homogeneous) elements are not exported.
- delete\_bad\_elements: Boolean for whether to delete the erroneous elements.
- warping\_limit: Warping limit factor used to detect erroneous elements.
- minimum\_volume: Minimum volume of solid elements. Default is ‘0’. Elements equal or smaller than this limit are removed from the solid model.
- global\_cut\_off\_material: Defines the global cut-off material.
- transfer\_all\_sets: Defines whether all edge and element sets should be transferred to the solid model.
- transferred\_element\_sets: Element sets to transfer to the solid model if transfer\_all\_sets is set to false.
- transferred\_edge\_sets: Edge sets to transfer to the solid model if transfer\_all\_sets is set to false.

### Returns

The created imported solid model.