> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ExportMapdlCdbParams

### *class* ansys.meshing.prime.ExportMapdlCdbParams(model=None, config\_settings=None, pre\_solution\_settings=None, material\_properties=None, boundary\_conditions=None, analysis\_settings=None, write\_cells=None, enable\_face\_based\_labels=None, write\_by\_zones=None, consider\_general\_connectors\_as\_spot\_weld=None, analysis\_type=None, simulation\_type=None, analysis\_settings\_file\_name=None, write\_separate\_blocks=None, separate\_blocks\_format\_type=None, export\_fasteners\_as\_swgen=None, export\_rigid\_bodies\_as\_rbgen=None, write\_component\_based\_ties=None, mortar\_contact\_for\_ties=None, write\_thickness\_file=None, contact\_element\_types=None, json\_data=None, \*\*kwargs)

Parameters to control MAPDL CDB export settings.

* **Parameters:**

  **model: Model**
  : Model to create a `ExportMapdlCdbParams` object with default parameters.

  **config\_settings: str, optional**
  : MAPDL configuration settings in CDB format to be added at the beginning of the file.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **pre\_solution\_settings: str, optional**
  : MAPDL Settings in CDB format to be added before the solution block in the file.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **material\_properties: str, optional**
  : Materials in CDB format to be added to the file.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **boundary\_conditions: str, optional**
  : Boundary conditions in CDB format to be added to the file.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **analysis\_settings: str, optional**
  : MAPDL analysis settings in CDB format to be added after the solution block in the file. Note: Boundary conditions can be included into analysis settings.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **write\_cells: bool, optional**
  : Option to write out cells as part of the file.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **enable\_face\_based\_labels: bool, optional**
  : Option to write element components for labels.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **write\_by\_zones: bool, optional**
  : Option to write zones in the file.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **consider\_general\_connectors\_as\_spot\_weld: bool, optional**
  : Option to translate all general connector joints (other than axial) to spot weld type. This is important when nodes are non coincident.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **analysis\_type: CdbAnalysisType, optional**
  : Option to specify CDB analysis type.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **simulation\_type: CdbSimulationType, optional**
  : Simulation type for the file.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **analysis\_settings\_file\_name: str, optional**
  : File path to export mapdl analysis settings.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **write\_separate\_blocks: bool, optional**
  : Controls whether element blocks should be written separately. When true, writes elements in separate blocks based on the format specified in separate\_blocks\_format\_type. When false, writes all elements into a single block.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **separate\_blocks\_format\_type: SeparateBlocksFormatType, optional**
  : Controls the format type when writing separate element blocks. Only used when write\_separate\_blocks is true.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **export\_fasteners\_as\_swgen: bool, optional**
  : Option to export fasteners as swgen. When true, translates fasteners into compact swgen blocks in the exported file. The default value is false.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **export\_rigid\_bodies\_as\_rbgen: bool, optional**
  : Option to export rigid bodies as rbgen. When true, translates rigid bodies into compact rbgen blocks in the exported file. The default value is false.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **write\_component\_based\_ties: bool, optional**
  : Option to write ties using component-based format. When true, writes ties using component selection and surface generation commands instead of explicit element definitions. The default value is false.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **mortar\_contact\_for\_ties: bool, optional**
  : Option to enable mortar contact for ties. When true, changes the key options for tie surfaces. The default value is false.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **write\_thickness\_file: bool, optional**
  : Option to write a thickness file for spotweld fatigue analysis. If true, writes a file named \[exportedFilename].cdb.thick.txt containing thickness information.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **contact\_element\_types: ContactElementTypeParams, optional**
  : Parameters for choosing element types for contact surfaces in TIEs and CONTACT PAIRs.

  **This is a beta parameter**. **The behavior and name may change in the future**.

  **json\_data: dict, optional**
  : JSON dictionary to create a `ExportMapdlCdbParams` object with provided parameters.

### Examples

```python theme={null}
>>> export_mapdl_cdb_params = prime.ExportMapdlCdbParams(model = model)
```

### Methods

| Name | Description |
| - | - |
| [`ExportMapdlCdbParams.print_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.print_default)() | Print the default values of `ExportMapdlCdbParams` object. |
| [`ExportMapdlCdbParams.set_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.set_default)(\[...]) | Set the default values of the `ExportMapdlCdbParams` object. |

### Attributes

| Name | Description |
| - | - |
| [`ExportMapdlCdbParams.analysis_settings`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.analysis_settings) | Boundary conditions can be included into analysis settings. |
| [`ExportMapdlCdbParams.analysis_settings_file_name`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.analysis_settings_file_name) | File path to export mapdl analysis settings. |
| [`ExportMapdlCdbParams.analysis_type`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.analysis_type) | Option to specify CDB analysis type. |
| [`ExportMapdlCdbParams.boundary_conditions`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.boundary_conditions) | Boundary conditions in CDB format to be added to the file. |
| [`ExportMapdlCdbParams.config_settings`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.config_settings) | MAPDL configuration settings in CDB format to be added at the beginning of the file. |
| [`ExportMapdlCdbParams.consider_general_connectors_as_spot_weld`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.consider_general_connectors_as_spot_weld) | Option to translate all general connector joints (other than axial) to spot weld type. |
| [`ExportMapdlCdbParams.contact_element_types`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.contact_element_types) | Parameters for choosing element types for contact surfaces in TIEs and CONTACT PAIRs. |
| [`ExportMapdlCdbParams.enable_face_based_labels`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.enable_face_based_labels) | Option to write element components for labels. |
| [`ExportMapdlCdbParams.export_fasteners_as_swgen`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.export_fasteners_as_swgen) | Option to export fasteners as swgen. |
| [`ExportMapdlCdbParams.export_rigid_bodies_as_rbgen`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.export_rigid_bodies_as_rbgen) | Option to export rigid bodies as rbgen. |
| [`ExportMapdlCdbParams.material_properties`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.material_properties) | Materials in CDB format to be added to the file. |
| [`ExportMapdlCdbParams.mortar_contact_for_ties`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.mortar_contact_for_ties) | Option to enable mortar contact for ties. |
| [`ExportMapdlCdbParams.pre_solution_settings`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.pre_solution_settings) | MAPDL Settings in CDB format to be added before the solution block in the file. |
| [`ExportMapdlCdbParams.separate_blocks_format_type`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.separate_blocks_format_type) | Controls the format type when writing separate element blocks. |
| [`ExportMapdlCdbParams.simulation_type`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.simulation_type) | Simulation type for the file. |
| [`ExportMapdlCdbParams.write_by_zones`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.write_by_zones) | Option to write zones in the file. |
| [`ExportMapdlCdbParams.write_cells`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.write_cells) | Option to write out cells as part of the file. |
| [`ExportMapdlCdbParams.write_component_based_ties`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.write_component_based_ties) | Option to write ties using component-based format. |
| [`ExportMapdlCdbParams.write_separate_blocks`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.write_separate_blocks) | Controls whether element blocks should be written separately. |
| [`ExportMapdlCdbParams.write_thickness_file`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.ExportMapdlCdbParams.write_thickness_file) | Option to write a thickness file for spotweld fatigue analysis. |
