Next: , Up: DR errors and constants


9.30 DR error codes

See the 4D Draw Language Reference for a description.

Value Constant Description
1 kDRInvalidAreaReference
2 kDRInvalidObjectID
3 kDRInvalidFont
4 kDRInvalidSelectAction
5 kDRInvalidObjectIndex
6 kDRInvalidCommandNumber
7 kDRInvalidSelectValue
8 kDRInsufficientMemory
9 kDRInvalidAlignmentCode
10 kDRInvalidDisplayCode
11 kDRInvalidUngroupLevel
12 kDRInvalidColorIndex
13 kDRInvalidRGBValue
14 kDRNoClipboardPicture
15 kDRInvalidDegreeAmount
16 kDRDefaultCannotBeSet
17 kDRInvalidArrayType
18 kDRInvalidArraySize
19 kDRInvalidPatternIndex
20 kDRInvalidLineWidth
21 kDRInvalidCornerRounding
22 kDRInvalidAttributeCode
23 kDRHotLinkWasNotFound
24 kDRInvalidFileOrFieldNumber
25 kDRInvalidEndmarkType
26 kDRInvalidEndmarkEnd
27 kDRInvalidTextJustification
28 kDRDontHaveThisAttribute
29 kDRMultipleValues
30 kDRPictureWasNotCreated
31 kDRInvalidFieldType
32 kDRInvalidScopeAreaToArea
33 kDRObjectsWereNotCopied
34 kDRNoLastPointClicked
35 kDRDRTextCantBeEmpty
36 kDRAreasMustBeDifferent
37 kDRNoObjectsAreSelected
38 kDRAllObjAttributesAreLocked
39 kDRCouldNotGetPicture
40 kDRCouldNotSetPicture
41 kDRInvalidObjectBoundary
42 kDRInvalidBindID
43 kDRBindInUse
44 kDRBindAttributeExists
45 kDRHotLinkNameExists
46 kDRNoObjectsInDocument
47 kDROperationCantBePerformed
48 kDRTextEditOnlyAtActualSize
49 kDRInvalidPolyVertexNumber
50 kDRPolyAtLeastThreeVertices
51 kDRNotEnoughMemoryForOperation
52 kDRInvalidFileType
53 kDR4DDrawDocumentTooOld
54 kDR4DDrawDocumentTooNew
55 kDRUserCancelledDialog
56 kDRNotInTextEditingMode
57 kDRInvalidScope
58 kDRValueOutOfRange
59 kDRNotEnoughObjectsToGroup
61 kDRCantEditText
62 kDRInvalidCoordinate
63 kDRInvalidDocumentSize
64 kDRInvalidObjectSize
65 kDRInvalidHotLinkType
66 kDRRecursiveHotLink
67 kDRInvalidColorValue
68 kDRWouldMoveOutsideDocument
69 kDRThisCommandIsDisabled
70 kDRInvalidScalingValues
71 kDRObjectHasEditingLocked
72 kDRMaxNumberOfObjects
73 kDRAllGroupsAreLocked
74 kDRNoForegroundObjects
75 kDRNoBackgroundObjects
76 kDRBitmappedImageTooLarge
77 kDRNoVisibleObjects
78 kDRNoInvisibleObjects
79 kDRThereAreNoFiles
80 kDRZoomOutOfRange
81 kDRPathnameTooLong
82 kDRPolygonNeedsStartingPoint
32767 kDRMiscellaneousError