    

 ## On this page

  

 

 # set\_default

 Last update: 16.10.2025 

<a id="ansys.meshing.prime.ExportMapdlCdbParams.set_default"></a>

#### *static* ExportMapdlCdbParams.set\_default(config\_settings=None, pre\_solution\_settings=None, material\_properties=None, boundary\_conditions=None, analysis\_settings=None, write\_cells=None, enable\_face\_based\_labels=None, label\_export\_params=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, write\_components\_with\_element\_blocks=None, separate\_blocks\_format\_type=None, export\_tie\_as\_cntgen=None, export\_coupling\_as\_sfcgen=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, reorder\_spotweldsurface=None, skip\_comments=None)

Set the default values of the `ExportMapdlCdbParams` object.

- **Parameters:**
    
    **config\_settings: str, optional**: MAPDL configuration settings in CDB format to be added at the beginning of the file.
    
    **pre\_solution\_settings: str, optional**: MAPDL Settings in CDB format to be added before the solution block in the file.
    
    **material\_properties: str, optional**: Materials in CDB format to be added to the file.
    
    **boundary\_conditions: str, optional**: Boundary conditions in CDB format to be added to the file.
    
    **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.
    
    **write\_cells: bool, optional**: Option to write out cells as part of the file.
    
    **enable\_face\_based\_labels: bool, optional**: Use LabelExportParams instead. Parameter enableFaceBasedLabels will be removed in 2025R2.
    
    **label\_export\_params: LabelExportParams, optional**: Parameters to control the export of labels as Nodal or Element Components in CDB.
    
    **write\_by\_zones: bool, optional**: Option to write zones in the file.
    
    **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.
    
    **analysis\_type: CdbAnalysisType, optional**: Option to specify CDB analysis type.
    
    **simulation\_type: CdbSimulationType, optional**: Simulation type for the file.
    
    **analysis\_settings\_file\_name: str, optional**: File path to export mapdl analysis settings.
    
    **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.
    
    **write\_components\_with\_element\_blocks: bool, optional**: Controls whether component definitions should be written within individual element blocks. write\_components\_with\_element\_blocks only has effect when write\_separate\_blocks is true. When write\_components\_with\_element\_blocks is true, writes component commands for each element block. When write\_components\_with\_element\_blocks is false, writes components separately.
    
    **separate\_blocks\_format\_type: SeparateBlocksFormatType, optional**: Controls the format type when writing separate element blocks. Only used when write\_separate\_blocks is true.
    
    **export\_tie\_as\_cntgen: bool, optional**: Option to export ties as cntgen. When true, translates ties and contact pairs into compact cntgen blocks in the exported file. The default value is false.
    
    **export\_coupling\_as\_sfcgen: bool, optional**: Option to export coupling as sfcgen. When true, translates kinematic or distributing coupling into compact sfcgen blocks in the exported file. The default value is false.
    
    **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.
    
    **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.
    
    **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.
    
    **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.
    
    **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.
    
    **contact\_element\_types: ContactElementTypeParams, optional**: Parameters for choosing element types for contact surfaces in TIEs and CONTACT PAIRs.
    
    **reorder\_spotweldsurface: bool, optional**: Parameters to choose the logic of spotweld computation. When false, computes spotwelds by prioritzing proximity of surface to spotweld. When true, computes spotwelds by prioritizing proximity of boundary surface to spotweld.
    
    **skip\_comments: bool, optional**: Parameter to skip export of comments to the exported file.