CFx SDK Documentation  2022 SP0
ErrorDefs.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
25 // Error codes definition container
26 
27 // Code Message string
28 OD_ERROR_DEF( eOk, OD_T("No error"))
29 OD_ERROR_DEF( eMakeMeProxy, OD_T("Make me proxy"))
30 OD_ERROR_DEF( eInvalidDrawing, OD_T("Invalid Drawing"))
31 OD_ERROR_DEF( eNotImplementedYet, OD_T("Not implemented yet"))
32 OD_ERROR_DEF( eNotApplicable, OD_T("Not applicable"))
33 OD_ERROR_DEF( eInvalidInput, OD_T("Invalid input"))
34 OD_ERROR_DEF( eInvalidFiler, OD_T("Invalid filer"))
35 OD_ERROR_DEF( eAmbiguousInput, OD_T("Ambiguous input"))
36 OD_ERROR_DEF( eAmbiguousOutput, OD_T("Ambiguous output"))
37 OD_ERROR_DEF( eOutOfMemory, OD_T("Out of memory"))
38 OD_ERROR_DEF( eNoInterface, OD_T("No interface"))
39 OD_ERROR_DEF( eBufferTooSmall, OD_T("Buffer is too small"))
40 OD_ERROR_DEF( eInvalidOpenState, OD_T("Invalid open state"))
41 OD_ERROR_DEF( eUnsupportedMethod, OD_T("Unsupported method"))
42 OD_ERROR_DEF( eEntityInInactiveLayout, OD_T("Entity is in inactive Layout"))
43 OD_ERROR_DEF( eDuplicateHandle, OD_T("Handle already exists"))
44 OD_ERROR_DEF( eNullHandle, OD_T("Null handle"))
45 OD_ERROR_DEF( eBrokenHandle, OD_T("Broken handle"))
46 OD_ERROR_DEF( eUnknownHandle, OD_T("Unknown handle"))
47 OD_ERROR_DEF( eHandleInUse, OD_T("Handle in use"))
48 OD_ERROR_DEF( eNullObjectPointer, OD_T("Null object pointer"))
49 OD_ERROR_DEF( eNullObjectId, OD_T("Null object Id"))
50 OD_ERROR_DEF( eNullBlockName, OD_T("Null Block name"))
51 OD_ERROR_DEF( eContainerNotEmpty, OD_T("Container is not empty"))
52 OD_ERROR_DEF( eNullEntityPointer, OD_T("Null entity pointer"))
53 OD_ERROR_DEF( eIllegalEntityType, OD_T("Illegal entity type"))
54 OD_ERROR_DEF( eKeyNotFound, OD_T("Key not found"))
55 OD_ERROR_DEF( eDuplicateKey, OD_T("Duplicate key"))
56 OD_ERROR_DEF( eInvalidIndex, OD_T("Invalid index"))
57 OD_ERROR_DEF( eCharacterNotFound, OD_T("Character not found"))
58 OD_ERROR_DEF( eDuplicateIndex, OD_T("Duplicate index"))
59 OD_ERROR_DEF( eAlreadyInDb, OD_T("Already in Database"))
60 OD_ERROR_DEF( eOutOfDisk, OD_T("Out of disk"))
61 OD_ERROR_DEF( eDeletedEntry, OD_T("Deleted entry"))
62 OD_ERROR_DEF( eNegativeValueNotAllowed, OD_T("Negative value not allowed"))
63 OD_ERROR_DEF( eInvalidExtents, OD_T("Invalid extents"))
64 OD_ERROR_DEF( eInvalidAdsName, OD_T("Invalid ads name"))
65 OD_ERROR_DEF( eInvalidSymbolTableName,OD_T("Invalid Symbol Table name"))
66 OD_ERROR_DEF( eInvalidKey, OD_T("Invalid key"))
67 OD_ERROR_DEF( eWrongObjectType, OD_T("Wrong object type"))
68 OD_ERROR_DEF( eWrongDatabase, OD_T("Wrong Database"))
69 OD_ERROR_DEF( eObjectToBeDeleted, OD_T("Object to be deleted"))
70 OD_ERROR_DEF( eInvalidFileVersion, OD_T("Invalid file version"))
71 OD_ERROR_DEF( eAnonymousEntry, OD_T("Anonymous entry"))
72 OD_ERROR_DEF( eIllegalReplacement, OD_T("Illegal replacement"))
73 OD_ERROR_DEF( eEndOfObject, OD_T("End of oject"))
74 OD_ERROR_DEF( eEndOfFile, OD_T("Unexpected end of file"))
75 OD_ERROR_DEF( eFileExists, OD_T("File exists"))
76 OD_ERROR_DEF( eCantOpenFile, OD_T("Can't open file"))
77 OD_ERROR_DEF( eFileCloseError, OD_T("File close error"))
78 OD_ERROR_DEF( eFileWriteError, OD_T("File write error"))
79 OD_ERROR_DEF( eNoFileName, OD_T("No filename"))
80 OD_ERROR_DEF( eFilerError, OD_T("Filer error"))
81 OD_ERROR_DEF( eFileAccessErr, OD_T("File access error"))
82 OD_ERROR_DEF( eFileSystemErr, OD_T("File system error"))
83 OD_ERROR_DEF( eFileInternalErr, OD_T("File internal error"))
84 OD_ERROR_DEF( eFileTooManyOpen, OD_T("Too many open files"))
85 OD_ERROR_DEF( eFileNotFound, OD_T("File not found"))
86 OD_ERROR_DEF( eUnknownFileType, OD_T("Unknown file type"))
87 OD_ERROR_DEF( eIsReading, OD_T("Is reading"))
88 OD_ERROR_DEF( eIsWriting, OD_T("Is writing"))
89 OD_ERROR_DEF( eNotOpenForRead, OD_T("Not opened for read"))
90 OD_ERROR_DEF( eNotOpenForWrite, OD_T("Not opened for write"))
91 OD_ERROR_DEF( eNotThatKindOfClass, OD_T("Not that kind of class"))
92 OD_ERROR_DEF( eInvalidBlockName, OD_T("Invalid Block name"))
93 OD_ERROR_DEF( eMissingDxfField, OD_T("Missing dxf field"))
94 OD_ERROR_DEF( eDuplicateDxfField, OD_T("Duplicate dxf field"))
95 OD_ERROR_DEF( eInvalidGroupCode, OD_T("Invalid group code"))
96 OD_ERROR_DEF( eInvalidResBuf, OD_T("Invalid ResBuf"))
97 OD_ERROR_DEF( eBadDxfSequence, OD_T("Bad Dxf sequence"))
98 OD_ERROR_DEF( eInvalidRoundTripR14Data, OD_T("Invalid RoundTripR14 data"))
99 OD_ERROR_DEF( eVertexAfterFace, OD_T("Polyface Mesh vertex after face"))
100 OD_ERROR_DEF( eInvalidVertexIndex, OD_T("Invalid vertex index"))
101 OD_ERROR_DEF( eOtherObjectsBusy, OD_T("Other objects busy"))
102 OD_ERROR_DEF( eMustFirstAddBlockToDb, OD_T("The invoked BlockTableRecord is not database-resident yet"))
103 OD_ERROR_DEF( eCannotNestBlockDefs, OD_T("Cannot nest Block definitions"))
104 OD_ERROR_DEF( eDwgRecoveredOK, OD_T(".dwg file recovered OK"))
105 OD_ERROR_DEF( eDwgNotRecoverable, OD_T(".dwg file is not recoverable"))
106 OD_ERROR_DEF( eDxfPartiallyRead, OD_T(".dxf file partially read"))
107 OD_ERROR_DEF( eDxfReadAborted, OD_T(".dxf file read aborted"))
108 OD_ERROR_DEF( eDxbPartiallyRead, OD_T(".dxb file partially read"))
109 OD_ERROR_DEF( eDwgCRCError, OD_T("CRC does not match"))
110 OD_ERROR_DEF( eDwgSentinelDoesNotMatch, OD_T("Sentinel does not match"))
111 OD_ERROR_DEF( eDwgObjectImproperlyRead, OD_T("Object improperly read"))
112 OD_ERROR_DEF( eNoInputFiler, OD_T("No input filer"))
113 OD_ERROR_DEF( eDwgNeedsAFullSave, OD_T("Drawing needs a full save"))
114 OD_ERROR_DEF( eDxbReadAborted, OD_T(".dxb file read aborted"))
115 OD_ERROR_DEF( eDwkLockFileFound, OD_T("Dwk lock file found"))
116 OD_ERROR_DEF( eWasErased, OD_T("Object was erased"))
117 OD_ERROR_DEF( ePermanentlyErased, OD_T("Object was permanently erased"))
118 OD_ERROR_DEF( eWasOpenForRead, OD_T("Was open for read"))
119 OD_ERROR_DEF( eWasOpenForWrite, OD_T("Was open for write"))
120 OD_ERROR_DEF( eWasOpenForUndo, OD_T("Was open for undo"))
121 OD_ERROR_DEF( eWasNotifying, OD_T("Was notifying"))
122 OD_ERROR_DEF( eWasOpenForNotify, OD_T("Was open for notify"))
123 OD_ERROR_DEF( eOnLockedLayer, OD_T("On locked Layer"))
124 OD_ERROR_DEF( eMustOpenThruOwner, OD_T("Must open thru owner"))
125 OD_ERROR_DEF( eSubentitiesStillOpen, OD_T("Subentities still open"))
126 OD_ERROR_DEF( eAtMaxReaders, OD_T("At max readers"))
127 OD_ERROR_DEF( eIsWriteProtected, OD_T("Is write protected"))
128 OD_ERROR_DEF( eIsXRefObject, OD_T("Is XRef object"))
129 OD_ERROR_DEF( eNotAnEntity, OD_T("An object in entitiesToMove is not an entity"))
130 OD_ERROR_DEF( eHadMultipleReaders, OD_T("Had multiple readers"))
131 OD_ERROR_DEF( eInvalidBlkRecordName, OD_T("Invalid BlockTableRecord name"))
132 OD_ERROR_DEF( eDuplicateRecordName, OD_T("Duplicate Record name"))
133 OD_ERROR_DEF( eNotXrefBlock, OD_T("Block is not an external reference definition"))
134 OD_ERROR_DEF( eEmptyRecordName, OD_T("Empty Record name"))
135 OD_ERROR_DEF( eXRefDependent, OD_T("Block depend on other XRefs"))
136 OD_ERROR_DEF( eSelfReference, OD_T("Entity references itself"))
137 OD_ERROR_DEF( eMissingSymbolTable, OD_T("Missing Symbol Table"))
138 OD_ERROR_DEF( eMissingSymbolTableRec, OD_T("Missing Symbol Table record"))
139 OD_ERROR_DEF( eWasNotOpenForWrite, OD_T("Was not open for write"))
140 OD_ERROR_DEF( eCloseWasNotifying, OD_T("Close was notifying"))
141 OD_ERROR_DEF( eCloseModifyAborted, OD_T("Close modify aborted"))
142 OD_ERROR_DEF( eClosePartialFailure, OD_T("Close partial failure"))
143 OD_ERROR_DEF( eCloseFailObjectDamaged,OD_T("Close fail object damaged"))
144 OD_ERROR_DEF( eCannotBeErasedByCaller,OD_T("Object can't be erased"))
145 OD_ERROR_DEF( eCannotBeResurrected, OD_T("Cannot be resurrected"))
146 OD_ERROR_DEF( eInsertAfter, OD_T("Insert after"))
147 OD_ERROR_DEF( eFixedAllErrors, OD_T("Fixed all errors"))
148 OD_ERROR_DEF( eLeftErrorsUnfixed, OD_T("Left errors unfixed"))
149 OD_ERROR_DEF( eUnrecoverableErrors, OD_T("Unrecoverable errors"))
150 OD_ERROR_DEF( eNoDatabase, OD_T("No Database"))
151 OD_ERROR_DEF( eXdataSizeExceeded, OD_T("XData size exceeded"))
152 OD_ERROR_DEF( eCannotSaveHatchRoundtrip, OD_T("Cannot save Hatch roundtrip data due to format limitations (they are too large)"))
153 OD_ERROR_DEF( eHatchHasInconsistentPatParams, OD_T("Hatch is gradient, but either solid fill flag not set or pattern type is not pre-defined"))
154 OD_ERROR_DEF( eRegappIdNotFound, OD_T("Invalid RegApp"))
155 OD_ERROR_DEF( eRepeatEntity, OD_T("Repeat entity"))
156 OD_ERROR_DEF( eRecordNotInTable, OD_T("Record not in Table"))
157 OD_ERROR_DEF( eIteratorDone, OD_T("Iterator done"))
158 OD_ERROR_DEF( eNullIterator, OD_T("Null iterator"))
159 OD_ERROR_DEF( eNotInBlock, OD_T("Not in Block"))
160 OD_ERROR_DEF( eOwnerNotInDatabase, OD_T("Owner not in Database"))
161 OD_ERROR_DEF( eOwnerNotOpenForRead, OD_T("Owner not open for read"))
162 OD_ERROR_DEF( eOwnerNotOpenForWrite, OD_T("Owner not open for write"))
163 OD_ERROR_DEF( eExplodeBeforeTransform, OD_T("Explode before transform"))
164 OD_ERROR_DEF( eCannotScaleNonOrtho, OD_T("Cannot transform by non-ortho matrix"))
165 OD_ERROR_DEF( eCannotScaleNonUniformly, OD_T("Cannot transform by non-uniform scaling matrix"))
166 OD_ERROR_DEF( eNotInDatabase, OD_T("Object not in Database"))
167 OD_ERROR_DEF( eNotCurrentDatabase, OD_T("Not current Database"))
168 OD_ERROR_DEF( eIsAnEntity, OD_T("Is an entity"))
169 OD_ERROR_DEF( eCannotChangeActiveViewport, OD_T("Cannot change properties of active Viewport!"))
170 OD_ERROR_DEF( eNotInPaperspace, OD_T("No active Viewport in Paper Space"))
171 OD_ERROR_DEF( eCommandWasInProgress, OD_T("Command was in progress"))
172 OD_ERROR_DEF( eGeneralModelingFailure, OD_T("General modeling failure"))
173 OD_ERROR_DEF( eOutOfRange, OD_T("Out of range"))
174 OD_ERROR_DEF( eNonCoplanarGeometry, OD_T("Non coplanar geometry"))
175 OD_ERROR_DEF( eDegenerateGeometry, OD_T("Degenerate geometry"))
176 OD_ERROR_DEF( eInvalidAxis, OD_T("Invalid axis"))
177 OD_ERROR_DEF( ePointNotOnEntity, OD_T("Point not on entity"))
178 OD_ERROR_DEF( eSingularPoint, OD_T("Singular point"))
179 OD_ERROR_DEF( eInvalidOffset, OD_T("Invalid offset"))
180 OD_ERROR_DEF( eNonPlanarEntity, OD_T("Non planar entity"))
181 OD_ERROR_DEF( eCannotExplodeEntity, OD_T("Can not explode entity"))
182 OD_ERROR_DEF( eStringTooLong, OD_T("String too long"))
183 OD_ERROR_DEF( eInvalidSymTableFlag, OD_T("Invalid Symbol Table flag"))
184 OD_ERROR_DEF( eUndefinedLineType, OD_T("Undefined LineType"))
185 OD_ERROR_DEF( eInvalidTextStyle, OD_T("TextStyle is invalid"))
186 OD_ERROR_DEF( eTooFewLineTypeElements, OD_T("Too few LineType elements"))
187 OD_ERROR_DEF( eTooManyLineTypeElements, OD_T("Too many LineType elements"))
188 OD_ERROR_DEF( eExcessiveItemCount, OD_T("Excessive item count"))
189 OD_ERROR_DEF( eIgnoredLinetypeRedef, OD_T("Ignored LineType redefinition"))
190 OD_ERROR_DEF( eBadUCS, OD_T("Bad UCS"))
191 OD_ERROR_DEF( eBadPaperspaceView, OD_T("Bad Paper Space View"))
192 OD_ERROR_DEF( eSomeInputDataLeftUnread, OD_T("Some input data left unread"))
193 OD_ERROR_DEF( eNoInternalSpace, OD_T("No internal space"))
194 OD_ERROR_DEF( eInvalidDimStyle, OD_T("Invalid DimensionStyle"))
195 OD_ERROR_DEF( eInvalidLayer, OD_T("Invalid Layer"))
196 OD_ERROR_DEF( eInvalidMlineStyle, OD_T("MLineStyle is invalid"))
197 OD_ERROR_DEF( eDwgNeedsRecovery, OD_T(".dwg file needs recovery"))
198 OD_ERROR_DEF( eRecoveryFailed, OD_T("Recovery failed"))
199 OD_ERROR_DEF( eDeleteEntity, OD_T("Delete entity"))
200 OD_ERROR_DEF( eInvalidFix, OD_T("Invalid fix"))
201 OD_ERROR_DEF( eBadLayerName, OD_T("Bad Layer name"))
202 OD_ERROR_DEF( eLayerGroupCodeMissing, OD_T("Layer group code missing"))
203 OD_ERROR_DEF( eBadColor, OD_T("Bad color"))
204 OD_ERROR_DEF( eBadColorIndex, OD_T("Bad color index"))
205 OD_ERROR_DEF( eBadLinetypeName, OD_T("Bad LineType name"))
206 OD_ERROR_DEF( eBadLinetypeScale, OD_T("Bad LineType scale"))
207 OD_ERROR_DEF( eBadVisibilityValue, OD_T("Bad visibility value"))
208 OD_ERROR_DEF( eProperClassSeparatorExpected, OD_T("Proper class separator expected"))
209 OD_ERROR_DEF( eBadLineWeightValue, OD_T("Bad lineweight value"))
210 OD_ERROR_DEF( ePagerError, OD_T("Pager error"))
211 OD_ERROR_DEF( eOutOfPagerMemory, OD_T("Out of pager memory"))
212 OD_ERROR_DEF( ePagerWriteError, OD_T("Pager write error"))
213 OD_ERROR_DEF( eWasNotForwarding, OD_T("Was not forwarding"))
214 OD_ERROR_DEF( eInvalidIdMap, OD_T("Invalid Id map"))
215 OD_ERROR_DEF( eInvalidOwnerObject, OD_T("Invalid owner Object"))
216 OD_ERROR_DEF( eOwnerNotSet, OD_T("Owner not set"))
217 OD_ERROR_DEF( eWrongSubentityType, OD_T("Wrong subentity type"))
218 OD_ERROR_DEF( eTooManyVertices, OD_T("Too many vertices"))
219 OD_ERROR_DEF( eTooFewVertices, OD_T("Too few vertices"))
220 OD_ERROR_DEF( eNoActiveTransactions, OD_T("No active transactions"))
221 OD_ERROR_DEF( eTransactionIsActive, OD_T("Transaction is active"))
222 OD_ERROR_DEF( eNotTopTransaction, OD_T("Not top transaction"))
223 OD_ERROR_DEF( eTransactionOpenWhileCommandEnded, OD_T("Transaction open while command ended"))
224 OD_ERROR_DEF( eInProcessOfCommitting, OD_T("In process of committing"))
225 OD_ERROR_DEF( eNotNewlyCreated, OD_T("Not newly created object"))
226 OD_ERROR_DEF( eLongTransReferenceError, OD_T("Entity is excluded from long transaction"))
227 OD_ERROR_DEF( eNoWorkSet, OD_T("No work set"))
228 OD_ERROR_DEF( eAlreadyInGroup, OD_T("Entity already in group"))
229 OD_ERROR_DEF( eNotInGroup, OD_T("There is no entity with this Id in group"))
230 OD_ERROR_DEF( eBadDwgFile, OD_T("Bad .dwg file"))
231 OD_ERROR_DEF( eInvalidREFIID, OD_T("Invalid REFIID"))
232 OD_ERROR_DEF( eInvalidNormal, OD_T("Invalid normal"))
233 OD_ERROR_DEF( eInvalidStyle, OD_T("Invalid Style"))
234 OD_ERROR_DEF( eCannotRestoreFromAcisFile, OD_T("Cannot restore from Acis file"))
235 OD_ERROR_DEF( eEmptyAcisFile, OD_T("Empty ACIS not allowed"))
236 OD_ERROR_DEF( eNLSFileNotAvailable, OD_T("NLS file not available"))
237 OD_ERROR_DEF( eNotAllowedForThisProxy, OD_T("Not allowed for this proxy"))
238 OD_ERROR_DEF( eNotSupportedInDwgApi, OD_T("Not supported in API"))
239 OD_ERROR_DEF( ePolyWidthLost, OD_T("Poly width lost"))
240 OD_ERROR_DEF( eNullExtents, OD_T("Null extents"))
241 OD_ERROR_DEF( eExplodeAgain, OD_T("Explode again"))
242 OD_ERROR_DEF( eBadDwgHeader, OD_T("Bad .dwg file header"))
243 OD_ERROR_DEF( eLockViolation, OD_T("Lock violation"))
244 OD_ERROR_DEF( eLockConflict, OD_T("Lock conflict"))
245 OD_ERROR_DEF( eDatabaseObjectsOpen, OD_T("Database objects open"))
246 OD_ERROR_DEF( eLockChangeInProgress, OD_T("Lock change in progress"))
247 OD_ERROR_DEF( eVetoed, OD_T("Vetoed"))
248 OD_ERROR_DEF( eNoDocument, OD_T("No document"))
249 OD_ERROR_DEF( eNotFromThisDocument, OD_T("Not from this document"))
250 OD_ERROR_DEF( eLISPActive, OD_T("LISP active"))
251 OD_ERROR_DEF( eTargetDocNotQuiescent, OD_T("Target doc not quiescent"))
252 OD_ERROR_DEF( eDocumentSwitchDisabled, OD_T("Document switch disabled"))
253 OD_ERROR_DEF( eInvalidContext, OD_T("Invalid context of execution"))
254 OD_ERROR_DEF( eCreateFailed, OD_T("Create failed"))
255 OD_ERROR_DEF( eCreateInvalidName, OD_T("Create invalid name"))
256 OD_ERROR_DEF( eSetFailed, OD_T("Setting active Layout failed"))
257 OD_ERROR_DEF( eDelDoesNotExist, OD_T("Does not exist"))
258 OD_ERROR_DEF( eDelIsModelSpace, OD_T("Model Space Layout can't be deleted"))
259 OD_ERROR_DEF( eDelLastLayout, OD_T("Last Paper Space Layout can't be deleted"))
260 OD_ERROR_DEF( eDelUnableToSetCurrent, OD_T("Unable to delete current"))
261 OD_ERROR_DEF( eDelUnableToFind, OD_T("Unable to find to delete"))
262 OD_ERROR_DEF( eRenameDoesNotExist, OD_T("Cannot rename non-existing"))
263 OD_ERROR_DEF( eRenameIsModelSpace, OD_T("Model Space Layout can't be renamed"))
264 OD_ERROR_DEF( eRenameInvalidLayoutName, OD_T("Invalid Layout name"))
265 OD_ERROR_DEF( eRenameLayoutAlreadyExists, OD_T("Layout already exists"))
266 OD_ERROR_DEF( eRenameInvalidName, OD_T("Cannot rename: the name is invalid"))
267 OD_ERROR_DEF( eCopyDoesNotExist, OD_T("Copy failed: object does not exist"))
268 OD_ERROR_DEF( eCopyIsModelSpace, OD_T("Cannot copy Model Space"))
269 OD_ERROR_DEF( eCopyFailed, OD_T("Copy failed"))
270 OD_ERROR_DEF( eCopyInvalidName, OD_T("Copy failed: invalid name"))
271 OD_ERROR_DEF( eCopyNameExists, OD_T("Copy failed: such name already exists"))
272 OD_ERROR_DEF( eProfileDoesNotExist, OD_T("Profile does not exist"))
273 OD_ERROR_DEF( eInvalidProfileName, OD_T("Invalid profile name"))
274 OD_ERROR_DEF( eProfileIsInUse, OD_T("Profile is in use"))
275 OD_ERROR_DEF( eRegistryAccessError, OD_T("Registry access error"))
276 OD_ERROR_DEF( eRegistryCreateError, OD_T("Registry create error"))
277 OD_ERROR_DEF( eBadDxfFile, OD_T("Bad Dxf file"))
278 OD_ERROR_DEF( eUnknownDxfFileFormat, OD_T("Unknown Dxf file format"))
279 OD_ERROR_DEF( eMissingDxfSection, OD_T("Missing Dxf section"))
280 OD_ERROR_DEF( eInvalidDxfSectionName, OD_T("Invalid Dxf section name"))
281 OD_ERROR_DEF( eNotDxfHeaderGroupCode, OD_T("Not Dxf header group code"))
282 OD_ERROR_DEF( eUndefinedDxfGroupCode, OD_T("Undefined Dxf group code"))
283 OD_ERROR_DEF( eNotInitializedYet, OD_T("Not initialized yet"))
284 OD_ERROR_DEF( eInvalidDxf2dPoint, OD_T("Invalid Dxf 2d point"))
285 OD_ERROR_DEF( eInvalidDxf3dPoint, OD_T("Invalid Dxf 3d point"))
286 OD_ERROR_DEF( eBadlyNestedAppData, OD_T("Badly nested AppData"))
287 OD_ERROR_DEF( eIncompleteBlockDefinition, OD_T("Incomplete Block definition"))
288 OD_ERROR_DEF( eIncompleteComplexObject, OD_T("Incomplete complex object"))
289 OD_ERROR_DEF( eBlockDefInEntitySection, OD_T("Block definition in entity section"))
290 OD_ERROR_DEF( eNoBlockBegin, OD_T("No BlockBegin"))
291 OD_ERROR_DEF( eDuplicateLayerName, OD_T("Duplicate Layer name"))
292 OD_ERROR_DEF( eBadPlotStyleName, OD_T("Bad PlotStyle name"))
293 OD_ERROR_DEF( eDuplicateBlockName, OD_T("Duplicate Block name"))
294 OD_ERROR_DEF( eBadPlotStyleType, OD_T("Bad PlotStyle type"))
295 OD_ERROR_DEF( eBadPlotStyleNameHandle, OD_T("Bad PlotStyle name handle"))
296 OD_ERROR_DEF( eUndefineShapeName, OD_T("Undefined Shape name"))
297 OD_ERROR_DEF( eDuplicateBlockDefinition, OD_T("Duplicate Block definition"))
298 OD_ERROR_DEF( eMissingBlockName, OD_T("Missing Block name"))
299 OD_ERROR_DEF( eBinaryDataSizeExceeded, OD_T("Binary data size exceeded"))
300 OD_ERROR_DEF( eObjectIsReferenced, OD_T("Object is referenced"))
301 OD_ERROR_DEF( eInvalidThumbnailBitmap, OD_T("Invalid thumbnail bitmap"))
302 OD_ERROR_DEF( eGuidNoAddress, OD_T("eGuidNoAddress"))
303 OD_ERROR_DEF( eMustBe0to2, OD_T("Must be 0 to 2"))
304 OD_ERROR_DEF( eMustBe0to3, OD_T("Must be 0 to 3"))
305 OD_ERROR_DEF( eMustBe0to4, OD_T("Must be 0 to 4"))
306 OD_ERROR_DEF( eMustBe0to5, OD_T("Must be 0 to 5"))
307 OD_ERROR_DEF( eMustBe0to8, OD_T("Must be 0 to 8"))
308 OD_ERROR_DEF( eMustBe1to8, OD_T("Must be 1 to 8"))
309 OD_ERROR_DEF( eMustBe1to15, OD_T("Must be 1 to 15"))
310 OD_ERROR_DEF( eMustBePositive, OD_T("Must be positive"))
311 OD_ERROR_DEF( eMustBeNonNegative, OD_T("Must be non negative"))
312 OD_ERROR_DEF( eMustBeNonZero, OD_T("Must be non zero"))
313 OD_ERROR_DEF( eMustBe1to6, OD_T("Must be 1 to 6"))
314 OD_ERROR_DEF( eNoPlotStyleTranslationTable, OD_T("No PlotStyle translation table"))
315 OD_ERROR_DEF( ePlotStyleInColorDependentMode, OD_T("PlotStyle is in color dependent mode"))
316 OD_ERROR_DEF( eMaxLayouts, OD_T("Max Layouts"))
317 OD_ERROR_DEF( eNoClassId, OD_T("No ClassId"))
318 OD_ERROR_DEF( eUndoOperationNotAvailable, OD_T("Undo operation is not available"))
319 OD_ERROR_DEF( eUndoNoGroupBegin, OD_T("No undo group begin"))
320 OD_ERROR_DEF( eHatchTooDense, OD_T("Hatch is too dense - ignoring"))
321 OD_ERROR_DEF( eOpenFileCancelled, OD_T("File open cancelled"))
322 OD_ERROR_DEF( eNotHandled, OD_T("Not handled"))
323 OD_ERROR_DEF( eLibIntegrityBroken, OD_T("Library integrity is broken"))
324 OD_ERROR_DEF( eAlreadyActive, OD_T("Already active"))
325 OD_ERROR_DEF( eAlreadyInactive, OD_T("Already inactive"))
326 OD_ERROR_DEF( eCodepageNotFound, OD_T("Codepage not found"))
327 OD_ERROR_DEF( eIncorrectInitFileVersion, OD_T("Incorrect init file version"))
328 OD_ERROR_DEF( eInternalFreetypeError, OD_T("Internal error in Freetype font library"))
329 OD_ERROR_DEF( eNoUCSPresent, OD_T("No UCS present in object"))
330 OD_ERROR_DEF( eBadObjType, OD_T("Object has wrong type"))
331 OD_ERROR_DEF( eBadProtocolExtension, OD_T("Protocol extension object is bad"))
332 OD_ERROR_DEF( eHatchInvalidPatternName, OD_T("Bad name for Hatch pattern"))
333 OD_ERROR_DEF( eNotTransactionResident, OD_T("Object is not transaction resident"))
334 OD_ERROR_DEF( eDwgFileIsEncrypted, OD_T(".dwg file is encrypted"))
335 OD_ERROR_DEF( eInvalidPassword, OD_T("The password is incorrect"))
336 OD_ERROR_DEF( eDecryptionError, OD_T("HostApp cannot decrypt data"))
337 OD_ERROR_DEF( eArithmeticOverflow, OD_T("An arithmetic overflow"))
338 OD_ERROR_DEF( eSkipObjPaging, OD_T("Paging skips the object"))
339 OD_ERROR_DEF( eStopPaging, OD_T("Paging is stoped"))
340 OD_ERROR_DEF( eInvalidDimStyleResBufData,OD_T("Invalid ResBuf with DimensionStyle data"))
341 OD_ERROR_DEF( eExtendedError, OD_T("Extended error"))
342 OD_ERROR_DEF( eGripOpFailure, OD_T("The grip operation has failed"))
343 OD_ERROR_DEF( eGripOpNoRedrawGrip, OD_T("NoRedrawGrip"))
344 OD_ERROR_DEF( eGripOpGripHotToWarm, OD_T("GripHotToWarm"))
345 OD_ERROR_DEF( eGripOpGetNewGripPoints, OD_T("GetNewGripPoints"))
346 OD_ERROR_DEF( eUnsupportedEarlyDwgVersion, OD_T("Unsupported early .dwg file version"))
347 OD_ERROR_DEF( eCannotChangeColumnType, OD_T("Cannot change column type"))
348 OD_ERROR_DEF( eCustomSizeNotPossible, OD_T("Custom size not possible"))
349 OD_ERROR_DEF( eDataLinkAdapterNotFound , OD_T("DataLink adapter not found"))
350 OD_ERROR_DEF( eDataLinkBadConnectionString , OD_T("DataLink bad connection string"))
351 OD_ERROR_DEF( eDataLinkConnectionFailed , OD_T("DataLink connection failed"))
352 OD_ERROR_DEF( eDataLinkInvalidAdapterId , OD_T("DataLink invalid adapter id"))
353 OD_ERROR_DEF( eDataLinkNotFound , OD_T("DataLink not found"))
354 OD_ERROR_DEF( eDataLinkNotUpdatedYet , OD_T("DataLink not updated yet"))
355 OD_ERROR_DEF( eDataLinkOtherError , OD_T("DataLink other error"))
356 OD_ERROR_DEF( eDataLinkSourceIsWriteProtected , OD_T("DataLink source is write protected"))
357 OD_ERROR_DEF( eDataLinkSourceNotFound , OD_T("DataLink source not found"))
358 OD_ERROR_DEF( eDeviceNotFound, OD_T("Device not found"))
359 OD_ERROR_DEF( eDwgCrcDoesNotMatch, OD_T("CRC does not match"))
360 OD_ERROR_DEF( eDwgShareDemandLoad, OD_T(".dwg file share demand load"))
361 OD_ERROR_DEF( eDwgShareReadAccess, OD_T(".dwg file share read access"))
362 OD_ERROR_DEF( eDwgShareWriteAccess, OD_T(".dwg file share write access"))
363 OD_ERROR_DEF( eFileMissingSections, OD_T("Missing section"))
364 OD_ERROR_DEF( eFileSharingViolation, OD_T("File sharing violation"))
365 OD_ERROR_DEF( eFiniteStateMachineError, OD_T("Finite state machine error"))
366 OD_ERROR_DEF( eGraphicsNotGenerated, OD_T("Graphics not generated"))
367 OD_ERROR_DEF( eHandleExists, OD_T("Handle exists"))
368 OD_ERROR_DEF( eIgnoredLinetypeRedefinition, OD_T("Ignored LineType redefinition"))
369 OD_ERROR_DEF( eIncompatiblePlotSettings, OD_T("Incompatible PlotSettings"))
370 OD_ERROR_DEF( eInternetBadPath, OD_T("Bad path"))
371 OD_ERROR_DEF( eInternetBase, OD_T("Base"))
372 OD_ERROR_DEF( eInternetCreateInternetSessionFailed, OD_T("CreateInternetSessionFailed"))
373 OD_ERROR_DEF( eInternetDirectoryFull , OD_T("DirectoryFull "))
374 OD_ERROR_DEF( eInternetDiskFull , OD_T("DiskFull "))
375 OD_ERROR_DEF( eInternetFileAccessDenied , OD_T("FileAccessDenied "))
376 OD_ERROR_DEF( eInternetFileGenericError , OD_T("FileGenericError "))
377 OD_ERROR_DEF( eInternetFileNotFound , OD_T("FileNotFound "))
378 OD_ERROR_DEF( eInternetFileOpenFailed , OD_T("FileOpenFailed "))
379 OD_ERROR_DEF( eInternetGenericException , OD_T("GenericException "))
380 OD_ERROR_DEF( eInternetHardwareError , OD_T("HardwareError "))
381 OD_ERROR_DEF( eInternetHttpAccessDenied , OD_T("HttpAccessDenied "))
382 OD_ERROR_DEF( eInternetHttpBadGateway , OD_T("HttpBadGateway "))
383 OD_ERROR_DEF( eInternetHttpBadMethod , OD_T("HttpBadMethod "))
384 OD_ERROR_DEF( eInternetHttpBadRequest , OD_T("HttpBadRequest "))
385 OD_ERROR_DEF( eInternetHttpConflict , OD_T("HttpConflict "))
386 OD_ERROR_DEF( eInternetHttpGatewayTimeout , OD_T("HttpGatewayTimeout "))
387 OD_ERROR_DEF( eInternetHttpLengthRequired , OD_T("HttpLengthRequired "))
388 OD_ERROR_DEF( eInternetHttpNoAcceptableResponse , OD_T("HttpNoAcceptableResponse "))
389 OD_ERROR_DEF( eInternetHttpNotSupported , OD_T("HttpNotSupported "))
390 OD_ERROR_DEF( eInternetHttpObjectNotFound , OD_T("HttpObjectNotFound "))
391 OD_ERROR_DEF( eInternetHttpOpenRequestFailed , OD_T("HttpOpenRequestFailed "))
392 OD_ERROR_DEF( eInternetHttpPaymentRequired , OD_T("HttpPaymentRequired "))
393 OD_ERROR_DEF( eInternetHttpPreconditionFailure , OD_T("HttpPreconditionFailure "))
394 OD_ERROR_DEF( eInternetHttpProxyAuthorizationRequired , OD_T("HttpProxyAuthorizationRequired "))
395 OD_ERROR_DEF( eInternetHttpRequestForbidden , OD_T("HttpRequestForbidden "))
396 OD_ERROR_DEF( eInternetHttpRequestTooLarge , OD_T("HttpRequestTooLarge "))
397 OD_ERROR_DEF( eInternetHttpResourceGone , OD_T("HttpResourceGone "))
398 OD_ERROR_DEF( eInternetHttpServerError , OD_T("HttpServerError "))
399 OD_ERROR_DEF( eInternetHttpServiceUnavailable , OD_T("HttpServiceUnavailable "))
400 OD_ERROR_DEF( eInternetHttpTimedOut , OD_T("HttpTimedOut "))
401 OD_ERROR_DEF( eInternetHttpUnsupportedMedia , OD_T("HttpUnsupportedMedia "))
402 OD_ERROR_DEF( eInternetHttpUriTooLong , OD_T("HttpUriTooLong "))
403 OD_ERROR_DEF( eInternetHttpVersionNotSupported , OD_T("HttpVersionNotSupported "))
404 OD_ERROR_DEF( eInternetInCache , OD_T("InCache "))
405 OD_ERROR_DEF( eInternetInternetError , OD_T("InternetError "))
406 OD_ERROR_DEF( eInternetInternetSessionConnectFailed , OD_T("InternetSessionConnectFailed "))
407 OD_ERROR_DEF( eInternetInternetSessionOpenFailed , OD_T("InternetSessionOpenFailed "))
408 OD_ERROR_DEF( eInternetInvalidAccessType , OD_T("InvalidAccessType "))
409 OD_ERROR_DEF( eInternetInvalidFileHandle , OD_T("InvalidFileHandle "))
410 OD_ERROR_DEF( eInternetNoInternetSupport , OD_T("NoInternetSupport "))
411 OD_ERROR_DEF( eInternetNotAnUrl , OD_T("NotAnUrl "))
412 OD_ERROR_DEF( eInternetNotImplemented , OD_T("NotImplemented "))
413 OD_ERROR_DEF( eInternetNoWinInternet , OD_T("NoWinInternet "))
414 OD_ERROR_DEF( eInternetOK , OD_T("OK "))
415 OD_ERROR_DEF( eInternetOldWinInternet , OD_T("OldWinInternet "))
416 OD_ERROR_DEF( eInternetProtocolNotSupported , OD_T("ProtocolNotSupported "))
417 OD_ERROR_DEF( eInternetSharingViolation , OD_T("SharingViolation "))
418 OD_ERROR_DEF( eInternetTooManyOpenFiles , OD_T("TooManyOpenFiles "))
419 OD_ERROR_DEF( eInternetUnknownError , OD_T("UnknownError "))
420 OD_ERROR_DEF( eInternetUserCancelledTransfer , OD_T("UserCancelledTransfer "))
421 OD_ERROR_DEF( eInternetValidUrl, OD_T("Valid URL"))
422 OD_ERROR_DEF( eInvalidEngineState, OD_T("Invalid engine state"))
423 OD_ERROR_DEF( eInvalidFaceVertexIndex, OD_T("Invalid Face vertex index"))
424 OD_ERROR_DEF( eInvalidFileExtension, OD_T("Invalid file extension"))
425 OD_ERROR_DEF( eInvalidMeshVertexIndex, OD_T("Invalid Mesh vertex index"))
426 OD_ERROR_DEF( eInvalidObjectId, OD_T("Invalid object Id"))
427 OD_ERROR_DEF( eInvalidPlotArea, OD_T("Invalid plot area"))
428 OD_ERROR_DEF( eInvalidPlotInfo, OD_T("Invalid plot info"))
429 OD_ERROR_DEF( eInvalidView, OD_T("Invalid View"))
430 OD_ERROR_DEF( eInvalidWindowArea, OD_T("Invalid window area"))
431 OD_ERROR_DEF( eInvalidXrefObjectId, OD_T("Invalid Xref object Id"))
432 OD_ERROR_DEF( eLayoutNotCurrent, OD_T("Layout not current"))
433 OD_ERROR_DEF( eMakeMeProxyAndResurrect, OD_T("Make me proxy and resurrect"))
434 OD_ERROR_DEF( eMustPlotToFile, OD_T("Must plot to file"))
435 OD_ERROR_DEF( eCannotPlotToFile, OD_T("Cannot plot to file"))
436 OD_ERROR_DEF( eNoCurrentConfig, OD_T("No current config"))
437 OD_ERROR_DEF( eNoErrorHandler, OD_T("No error handler"))
438 OD_ERROR_DEF( eNoLabelBlock, OD_T("No label Block"))
439 OD_ERROR_DEF( eNoLayout, OD_T("No Layout"))
440 OD_ERROR_DEF( eNoMatchingMedia, OD_T("No matching media"))
441 OD_ERROR_DEF( eNonePlotDevice, OD_T("None plot device"))
442 OD_ERROR_DEF( eNoThumbnailBitmap, OD_T("No thumbnail bitmap"))
443 OD_ERROR_DEF( eNotMultiPageCapable, OD_T("Not multipage capable"))
444 OD_ERROR_DEF( eNoViewAssociation, OD_T("No View association"))
445 OD_ERROR_DEF( eNullPtr, OD_T("Null Ptr"))
446 OD_ERROR_DEF( eNumberOfCopiesNotSupported, OD_T("Number of copies not supported"))
447 OD_ERROR_DEF( eObsoleteFileFormat, OD_T("Obsolete file format"))
448 OD_ERROR_DEF( ePageCancelled, OD_T("Page cancelled"))
449 OD_ERROR_DEF( ePlotAlreadyStarted, OD_T("Plot already started"))
450 OD_ERROR_DEF( ePlotCancelled, OD_T("Plot cancelled"))
451 OD_ERROR_DEF( eRepeatedDwgRead, OD_T("Repeated .dwg file read"))
452 OD_ERROR_DEF( eRowsMustMatchColumns, OD_T("Rows must match columns"))
453 OD_ERROR_DEF( eSecErrorCipherNotSupported , OD_T("Error cipher not supported"))
454 OD_ERROR_DEF( eSecErrorComputingSignature , OD_T("Error computing signature"))
455 OD_ERROR_DEF( eSecErrorDecryptingData , OD_T("Error decrypting data"))
456 OD_ERROR_DEF( eSecErrorEncryptingData , OD_T("Error encrypting data"))
457 OD_ERROR_DEF( eSecErrorGeneratingTimestamp , OD_T("Error generating timestamp"))
458 OD_ERROR_DEF( eSecErrorReadingFile , OD_T("Error reading file"))
459 OD_ERROR_DEF( eSecErrorWritingFile , OD_T("Error writing file"))
460 OD_ERROR_DEF( eSecErrorWritingSignature , OD_T("Error writing signature"))
461 OD_ERROR_DEF( eSecInitializationFailure , OD_T("Initialization failure"))
462 OD_ERROR_DEF( eSecInvalidDigitalId , OD_T("Invalid digital id"))
463 OD_ERROR_DEF( eLoadFailed , OD_T("Load failed"))
464 OD_ERROR_DEF( eSubSelectionSetEmpty , OD_T("SubSelectionSet empty"))
465 OD_ERROR_DEF( eUnableToGetLabelBlock , OD_T("Unable to get label Block"))
466 OD_ERROR_DEF( eUnableToGetViewAssociation , OD_T("Unable to get View association"))
467 OD_ERROR_DEF( eUnableToRemoveAssociation , OD_T("Unable to remove association"))
468 OD_ERROR_DEF( eUnableToSetLabelBlock , OD_T("Unable to set label Block"))
469 OD_ERROR_DEF( eUnableToSetViewAssociation , OD_T("Unable to set View association"))
470 OD_ERROR_DEF( eUnableToSyncModelView , OD_T("Unable to sync Model View"))
471 OD_ERROR_DEF( eUnsupportedFileFormat , OD_T("Unsupported file format"))
472 OD_ERROR_DEF( eUserBreak , OD_T("User break"))
473 OD_ERROR_DEF( eWasNotErased , OD_T("Was not erased"))
474 OD_ERROR_DEF( eWrongCellType , OD_T("Wrong cell type"))
475 OD_ERROR_DEF( eTxError , OD_T("Tx application error"))
476 OD_ERROR_DEF( eHiddenLayerNotAllowed , OD_T("Hidden Layer not allowed"))
477 OD_ERROR_DEF( eInvalidLicense , OD_T("Invalid license"))
478 
479 OD_ERROR_DEF( eCryptProviderUnavailable , OD_T("The cryptography service provider \"%ls\" used to protect this drawing is not installed on this computer"))
480 OD_ERROR_DEF( eInvalidNumPCurves , OD_T("The number of curves does not match with the number of parameter-space curves"))
481 OD_ERROR_DEF( eNoTrimmigLoop , OD_T("Trimming loop is undefined"))
482 OD_ERROR_DEF( eBrokenTrimmingLoop , OD_T("Edges are not ordered"))
483 OD_ERROR_DEF( eLoopNotClosed , OD_T("Trimming loop must be closed"))
484 OD_ERROR_DEF( eLoopIsNotOnFace , OD_T("Trimming loop is not placed on the face"))
485 OD_ERROR_DEF( eLoopSelfIntersecting , OD_T("Self-intersecting trimming loop"))
486 OD_ERROR_DEF( eInvalidIntervals , OD_T("Intervals of 3d curves differ from their parameter-space curves intervals"))
487 
488 OD_ERROR_DEF( eDataTooLarge , OD_T("Uncompressed object size is too large to be saved to specified .dwg version"))
489 
490 OD_ERROR_DEF( eEmptySet, OD_T( "Set of elements is empty" ) )
491 OD_ERROR_DEF( eSyntaxError, OD_T( "Syntax error" ) )
492 OD_ERROR_DEF( eInvalidProps, OD_T( "Invalid properties of the object" ) )
493 OD_ERROR_DEF( eDaiInternalError, OD_T( "DAI internal error" ) )
494 
495 #define eNotImplemented eNotImplementedYet
496 #define eCannotBeErased eCannotBeErasedByCaller
497 
scale
Definition: DimVarDefs.h:1684
Error
Definition: FxBIM.h:44
#define OD_T(x)
#define OD_ERROR_DEF(code, string)
Definition: OdResult.h:27
GLenum void ** pointer
Definition: gles2_ext.h:288
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
GLsizeiptr size
Definition: gles2_ext.h:182
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
Definition: gles2_ext.h:110
GLuint index
Definition: gles2_ext.h:265
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLsizei GLsizei * count
Definition: gles2_ext.h:276
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
GLint GLint GLint GLsizei GLsizei GLenum format
Definition: gles2_ext.h:111
GLenum GLint * range
Definition: gles2_ext.h:563
GLintptr offset
Definition: gles2_ext.h:183
GLsizei const GLfloat * value
Definition: gles2_ext.h:302
const T & max(const T &x, const T &y)
bool access(const OdString &path, int acc=Read)
Definition: RxFS.h:235
OdUInt64 Id
Definition: RxFS.h:82
@ Delete
Definition: RxFS.h:64
StreamP open(const OdString &path, int acc=Read, Creation dispos=OpenExisting, Share sh=DenyNo)
Definition: RxFS.h:239
@ eKeyNotFound
A try to proceed an operation with a null smart pointer to the Teigha Publish document.
@ eNotImplementedYet
The name of the base object is null.
LineType
Definition: PlotStyles.h:89
@ version
Definition: Tf.h:335
@ Handle
Definition: Tf.h:403
@ String
Definition: Tf.h:402
@ Empty
Definition: Tf.h:416
@ Table
Definition: Tf.h:415