Hide Table of Contents
gtError_e Enumeration

Error codes returned by SolidWorks Utilities APIs.

.NET Syntax

Visual Basic (Declaration) 
Public Enum gtError_e 
   Inherits Enum
Visual Basic (Usage) 
Dim instance As gtError_e
C# 
public enum gtError_e : Enum 
C++/CLI 
public enum class gtError_e : public Enum 

Members

MemberDescription
gtUnknownErr-1 //Common -1 through 5000
gtNOErr0 //No error
gtErrOpeningFile1
gtErrDocNotSelected2
gtErrIncorrectFileName3
gtErrDocsAreSame4
gtErrDocIsEmpty5
gtErrIncompatibleFile6
gtErrSameNameDocAlreadyOpen7
gtErrDocOpenedViewOnly8
gtErrSharedByGeomDiff9
gtErrSharedByFeatDiff10
gtErrSharedByCompDocs11
gtErrDocInEditSketchMode12
gtErrReportAlreadyExists13
gtErrCouldNotCreateReportFolders14
gtErrIncorrectReportPath15
gtErrSavingFile16
gtErrInvalidFile17
gtErrFileNotFound18
gtErrNoSolidBodies19
gtErrFileAlreadyExists20
gtErrToolNotSupported21 //Returned by IUtilities::GetToolInterface
gtErrArgumentOutofRange22
gtErrResultUIOn23
gtErrUtilityAlreadyRunning24
gtErrNoPartDocs25
gtErrAssemblyInEditPartMode26
gtErrFaceComparisonNotPossibleInAssemblies27
gtErrDocsConfigsAreSame28
gtErrDocsConfigNotExist29
gtErrDesignBinderReportAlreadyExists30
gtErrReferenceBOMNotSelected31
gtErrToBeComparedBOMNotSelected32
gtErrDoc1NotSelected33
gtErrDoc2NotSelected34
gtErrCompDocsAlreadyOpen5001 //Compare documents 5001 through 6000
gtErrCompDocsNotExecuted5002
gtErrCompDocsOperationOptions5003 //Operation out of range
gtErrCompDocsResultOptions5004 //Result option out of range
gtErrCompDocsInvalidRefFile5005
gtErrCompDocsInvalidModFile5006
gtErrCompDocsInvalidRefConfig5007
gtErrCompDocsInvalidModConfig5008
gtErrCompDocsSameRefModFilesConfigs5009
gtErrCompareFeaturesFailed6001 //Compare features 6001 through 7000
gtErrCompFeatInvalidRefFile6002
gtErrCompFeatInvalidModFile6003
gtErrCompFeatAlreadyRunning6004
gtErrCompFeatResultOptions6005
gtErrCompFeatRefNoSolidBodies6006
gtErrCompFeatModNoSolidBodies6007
gtErrCompFeatNotExecuted6008
gtErrCompFeatInvalidRefConfig6009
gtErrCompFeatInvalidModConfig6010
gtErrCompFeatSameRefModFilesConfigs6011
gtErrCompareFacesFailed7001 //Compare geometry 7001 through 8000
gtErrCompareVolFailed7002
gtErrFacesIdentical7003
gtErrNonSimilarParts7004
gtErrSavingVolDiffResults7005
gtErrVolDiffResultsAlreadySaved7006
gtErrCompareGeometryNotExecuted7007
gtErrCompGeomAlreadyOpen7008
gtErrCompGeomInvalidRefFile7009
gtErrCompGeomInvalidModFile7010
gtErrCompGeomOperationOptions7011
gtErrCompGeomResultOptions7012
gtErrCompareVolumeNotExecuted7013
gtErrCompGeomInvalidRefConfig7014
gtErrCompGeomInvalidModConfig7015
gtErrCompGeomSameRefModFilesConfigs7016
gtErrGckAlreadyOpen8001 //Geometry analysis 8001 through 9000
gtErrGckNoActivePartDoc8002
gtErrGckDRTError8003
gtErrGckResultsAlreadyPresent8004
gtErrGckNoGetCountFunctionCalled8005
gtErrGckInsufficientMemoryProvided8006
gtErrGckNotInitialized8007
gtErrGckInvalidEntityParamater8008
gtErrPslNoSelectEntitySet10001 //PowerSelect 10001 through 10019
gtErrPslNoFilterSet10002
gtErrPslSpecifiedFilterNotSet10003
gtErrPslBothConvexConcaveNotSet10004
gtErrPslErrOperatorOutofRange10005
gtErrPslAngleOutofRange10006
gtErrPslColorOutofRange10007
gtErrPslFeatureTypeOutofRange10008
gtErrPslIncorrectFeatureNameString10009
gtErrPslErrFilterTypeOutofRange10010
gtErrPslNoFeatureTypeFilterSet10011
gtErrPslUIRunning10012
gtErrPslNotRun10013
gtErrPslAlreadyRunning10014
gtErrPslNotInitialized10015
gtErrPslNoActivePartDoc10016
gtErrPslErrorInSelection10017
gtErrPslIncorrectFeatureTypeArray10018
gtErrPslResultOptions10019
gtErrArgument1Incorrect11001 /Feature paint 11001 thorugh 12000
gtErrArgument2Incorrect11002
gtErrNoSourceFeature11003
gtErrNoTargetFeature11004
gtErrSameSourceTargetFeature11005
gtErrSourceFeatErr11006
gtErrTargetFeatErr11007
gtErrRollback11008
gtErrSourceFeatureRolledBack11009
gtErrTargetFeatureRolledBack11010
gtErrSourceNoBodyFeature11011
gtErrTargetNoBodyFeature11012
gtErrtckNoActivePartDoc12001 //thickness analysis 12001 through 13000
gtErrTckResultOptions12002
gtErrTckResolution12003
gtErrTckNotInitialized12004
gtErrtckBodyDoesNotExist12005
gtErrtckBodyNotSet12006
gtErrtckUIRunning12007
gtErrtckTesselationFailed12008
gtWarningTckThinAnalRangeBelowMaxThick12009
gtWarningTckThinAnalMinMaxThckSameAsTrg12010
gtWarningTckThickAnalRangeAboveMaxThick12011
gtWarningTckThickAnalRangeBelowMaxThick12012
gtErrTcktTrgThicknessNotInRange12013
gtErrTcktThickRegnLimitNotInRange12014
gtErrTckNotPerformed12015
gtErrTckNotValid12016
gtErrThicknessRangeNotValid12017
gtErrEdrawingFileAlreadyExists12018
gtErrFindText12019 //Property IFindReplaceAnnotations::FindText is not set
gtErrReplaceText12020 //Property IFindReplaceAnnotations::ReplaceText is not set
gtErrUIInvoked12021 //Property PropertyManager page is already displayed
gtErrNoUI12022
gtErrNoValidIndex12023
gtErrBsdAlreadyOpenNot used.
gtErrBsdNoActivePartDocNot used.
gtErrBsdNotInitializedNot used.
gtErrBsdDocNotSavedNot used.
gtErrBsdNoSheetMetalFeatureFoundNot used.
gtErrBsdInvalidArgNot used.
gtErrBsdInvalidSheetFormatPathNot used.
gtErrBsdInvalidSaveLocationPathNot used.
gtErrBsdVirtualComponentNot used.
gtErrBsdLowMemoryNot used.
gtErrBsdUserCanceledNot used.
gtErrBsdOpenedReadOnlyNot used.
gtErrBsdDefaultDrwTemplateNot used.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         SolidWorks.Interop.gtswutilities.gtError_e

See Also



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:   gtError_e Enumeration
*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) 2011 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.