Hide Table of Contents

System Options > Export > 3MF

This topic contains two tables. The information in the table:

  • appearing immediately after the dialog corresponds to the settings on that dialog.
  • titled Obsolete Enumerators contains enumerators that previously appeared on the dialog but are now obsolete.

To display the dialog:

Click Tools > Options > System Options > Export > 3MF in File Format.

- or -

  1. Click File > Save As.
  2. In Save as type, select 3D Manufacturing Format.
  3. Click Options.




Get/Set Methods

Return Value


Output as - Unit


ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swExportStlUnits, swLengthUnit_e.<Value>)

Valid options as defined in swLengthUnit_e:

  • 0 = swMM (millimeters)   

  • 1 = swCM (centimeters)  

  • 2 = swMETER

  • 3 = swINCHES

  • 4 = swFEET


Resolution -

  • Coarse
  • Fine
  • Custom


ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSTLQuality, swSTLQuality_e.<Value>)

See swSTLQuality_e for valid options

Specifies the resolution of the output for 3D manufacturing files

Resolution - Deviation - Tolerance


ISldWorks::SetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swSTLDeviation, <Value>)

Double value

Specifies the deviation tolerance, which controls whole-part tessellation; lower numbers generate files with greater whole-part accuracy

Resolution - Angle - Tolerance


ISldWorks::SetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swSTLAngleTolerance, <Value>)

Double value

Specifies the angle tolerance, which controls smaller detail tessellation; lower numbers generate files with greater small-detail accuracy, but those files take longer to generate

Resolution - Show 3MF info before saving file

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e, sw3MFShowInfoOnSave)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e, sw3MFShowInfoOnSave, <OnFlag>)

Boolean value

Specifies whether to show 3MF info before saving the file

Resolution - Preview before saving file

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e, swSTLPreview)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e, swSTLPreview, <OnFlag>)

Boolean value

Specifies whether a faceted model preview is displayed in the graphics area

Include materials

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e, sw3MFMaterials)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e, sw3MFMaterials, <OnFlag>)

Boolean value

Specifies whether to include materials

Include appearances

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e, sw3MFAppearances)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e, sw3MFAppearances, <OnFlag>)

Boolean value

Specifies whether to include appearances

Include decals

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e, sw3MFDecals)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e, sw3MFDecals, <OnFlag>)

Boolean value

Specifies whether to include decals


Obsolete Enumerators







Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   System Options > Export > 3MF
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: API Help (English only) 2018 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.