Hide Table of Contents

System Options > Import > General

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 > Import > General in File Format.

- or -

  1. Click File > Open.
  2. In Files of type, select:
  • Parasolid

  • IGES

  • STEP AP203/214

  • IFC 2x3

  • ACIS

  • VDAFS

  • Unigraphics/NX

  • Inventor Part

  • Inventor Assembly

  1. Click Options.

 

Setting

Get/Set Methods

Return Value
or
<Value>
or
<OnFlag>

Comment

Surface/solid entities

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swImportSolidSurface)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swImportSolidSurface, <OnFlag>)

Boolean value

Specifies whether to import surface and solid entities; you must also set ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption, swGeneralImportSurfaceSolidEntityOptions_e.<Value>)

Try forming solid(s)

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption, swGeneralImportSurfaceSolidEntityOptions_e.swGeneralImportTryFormingSolids)

swGeneralImportSurfaceSolidEntityOptions_e.swGeneralImportTryFormingSolids

See swGeneralImportSurfaceSolidEntityOptions_e for all valid options

B-rep mapping

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportUseBrep)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption, swGeneralImportSurfaceSolidEntityOptions_e.swImportUseBrep)

and

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption, swGeneralImportSurfaceSolidEntityOptions_e.swGeneralImportByBrep)

  • 0 = Import the model by directly mapping topologies using BREP data

  • 1 = Do not import the model by directly mapping topologies using BREP data

NOTE: You must set ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption, swGeneralImportSurfaceSolidEntityOptions_e.swGeneralImportByBrep) for  swGeneralImportSurfaceSolidEntityOptions_e.swImportUseBrep to have an affect.

and

swGeneralImportSurfaceSolidEntityOptions_e.swGeneralImportByBrep

See swGeneralImportSurfaceSolidEntityOptions_e for all valid options

Knit surface(s)

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption, swGeneralImportSurfaceSolidEntityOptions_e.swGeneralImportKnitSurfaces)

swGeneralImportSurfaceSolidEntityOptions_e.swGeneralImportKnitSurfaces

See swGeneralImportSurfaceSolidEntityOptions_e for all valid options

Do not knit

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swCreateBodyFromSurfacesOption, swGeneralImportSurfaceSolidEntityOptions_e.swGeneralImportDoNotKnit)

wGeneralImportSurfaceSolidEntityOptions_e.swGeneralImportDoNotKnit

See swGeneralImportSurfaceSolidEntityOptions_e for all valid options

Merge Entities

See Comment

See Comment

Not currently available in SOLIDWORKS API

Free Point/curve entities

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swImportFreeCurves)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swImportFreeCurves, <OnFlag>)

Boolean value

Specifies whether to import free points and free curve entities; must also specify an ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportCurvePreference, swGeneralImportFreePointCurveEntityOptions_e.<Value>)

Import as sketch(es)

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportCurvePreference)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportCurvePreference, swGeneralImportFreePointCurveEntityOptions_e.swGeneralImportAsSketches)

swGeneralImportFreePointCurveEntityOptions_e.swGeneralImportAsSketches

See swGeneralImportFreePointCurveEntityOptions_e for all valid options

Import as 3D curves

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportCurvePreference)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportCurvePreference, swGeneralImportFreePointCurveEntityOptions_e.swGeneralImportAs3dCurves)

swGeneralImportFreePointCurveEntityOptions_e.swGeneralImportAs3dCurves

See swGeneralImportFreePointCurveEntityOptions_e for all valid options

Import multiple bodies as parts

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swImportMultBodyAsPartData)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swImportMultBodyAsPartData, <OnFlag>)

Boolean value

Specifies whether to import multibody part as an assembly document; for STEP and ACIS files only

Perform full entity check and repair errors

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportCheckAndRepair)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportCheckAndRepair, <Value>)

  • 0 = Do not check and repair

  • 1 = Check and repair

 

Automatically run Import Diagnostics (Healing)

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swImportAutoRunImportDiagnostics)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swImportAutoRunImportDiagnostics, <OnFlag>)

and

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swImportAutoRunImportDiagnosticsPersist)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swImportAutoRunImportDiagnosticsPersist, <OnFlag>)

Boolean value

and

Boolean value

Specifies whether import diagnostics (healing) are run automatically. If TRUE, they are; if FALSE, they are not

and

Specifies whether users are presented with a dialog asking them if the import diagnostics (healing) should run; if True, then users are not asked and automatic healing is done depending on the value of swUserPreferenceToggle_e.swImportAutoRunImportDiagnostics; if False, then users are asked

Customize curve tolerance

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swUseCustomizedImportTolerance)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swUseCustomizedImportTolerance, <Value>)

  • 0 = Do not use customized import tolerance

  • 1 = Use customized import tolerance

Specifies whether customized curve tolerance for imported documents is enabled

Customize curve tolerance <n>

ISldWorks::GetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swCustomizedImportTolerance) ISldWorks::SetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swCustomizedImportTolerance, <Value>)

Double value in meters

Specifies customized curve tolerance for imported documents; swUserPreferenceIntegerValue_e.swUseCustomizedImportTolerance must be set to 1 to enable this setting

Unit - File specified unit

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportUnitPreference)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportUnitPreference, swGeneralImportUnitsOptions_e.swGeneralImportFileSpecifiedUnit)

swGeneralImportUnitsOptions_e.swGeneralImportFileSpecifiedUnit

See swGeneralImportUnitsOptions_e for all valid options

Unit - Document template specified unit

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportUnitPreference)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swImportUnitPreference, swGeneralImportUnitsOptions_e.swGeneralImportDocumentTemplateSpecifiedUnit)

swGeneralImportUnitsOptions_e.swGeneralImportDocumentTemplateSpecifiedUnit)

See swGeneralImportUnitsOptions_e for all valid options

IGES - Show IGES levels

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swIGESImportShowLevel)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swIGESImportShowLevel, <OnFlag>)

Boolean value

Specifies whether to displays the IGES-In Surfaces, Curves, and Levels dialog to the user where the user can specify levels and values

STEP - Map configuration data

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swImportStepConfigData)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swImportStepConfigData, <OnFlag>)

Boolean value

Specifies whether to import STEP file configuration data plus geometric data or geometric data only; for STEP files only

Force enable import diagnosis

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swForceEnableImportDiagnosis)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swForceEnableImportDiagnosis, <OnFlag>)

Boolean value

Specifies whether to force enable import diagnosis

Obsolete Enumerators

Enumerator

Comment

swImportUGToolBodies

Obsolete

 



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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   System Options > Import > General
*Comment:  
*   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:



x

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
x

Web Help Content Version: API Help (English only) 2017 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.