Share

Autodesk.AutoCAD.BoundaryRepresentation.ErrorStatus Enumeration

Description

The ErrorStatus enumerated values are used by all BREP functions.

Visual Basic

Public Enum ErrorStatus
  AmbiguousOutput = 5
  BrepChanged = &Hbc0
  DegenerateTopology = &Hbcc
  InvalidInput = 3
  InvalidObject = &H7b
  MissingGeometry = &H99
  MissingSubentity = &H89
  NotApplicable = 2
  NotImplementedYet = 1
  NullObjectId = &H10
  NullObjectPointer = &H7b
  NullSubentityId = &H18
  ObjectIdMismatch = &H23
  Ok = 0
  OutOfMemory = 6
  TopologyMismatch = &H23
  UninitialisedObject = &Hbcd
  UnsuitableGeometry = 5
  UnsuitableTopology = &Hbc5
  WrongObjectType = &H22
  WrongSubentityType = 230
End Enum

C#

public enum ErrorStatus {
  AmbiguousOutput = 5,
  BrepChanged = 0xbc0,
  DegenerateTopology = 0xbcc,
  InvalidInput = 3,
  InvalidObject = 0x7b,
  MissingGeometry = 0x99,
  MissingSubentity = 0x89,
  NotApplicable = 2,
  NotImplementedYet = 1,
  NullObjectId = 0x10,
  NullObjectPointer = 0x7b,
  NullSubentityId = 0x18,
  ObjectIdMismatch = 0x23,
  Ok = 0,
  OutOfMemory = 6,
  TopologyMismatch = 0x23,
  UninitialisedObject = 0xbcd,
  UnsuitableGeometry = 5,
  UnsuitableTopology = 0xbc5,
  WrongObjectType = 0x22,
  WrongSubentityType = 230
}

Members

Members Description
AmbiguousOutput = 5 Unable to compute result.
BrepChanged = 0xbc0 AutoCAD object has been modified since this BREP object was last set.
DegenerateTopology = 0xbcc The subentity does not map to the topology.
InvalidInput = 3 The input argument points to an invalid object.
InvalidObject = 0x7b The BREP object is uninitialized or invalidated.
MissingGeometry = 0x99 The geometry is fully or partially missing.
MissingSubentity = 0x89 The topology does not map to a subentity.
NotApplicable = 2 The inherited function is not applicable to this subclass.
NotImplementedYet = 1 The function is not implemented yet.
NullObjectId = 0x10FullSubentityPath does not point to an AutoCAD object.
NullObjectPointer = 0x7b API object points to missing or null IMP object (internal error).
NullSubentityId = 0x18FullSubentityPath does not point to a subentity.
ObjectIdMismatch = 0x23 The traverser list owner and list position do not point to the same AutoCAD object.
Ok = 0 The operation was successful.
OutOfMemory = 6 Unable to allocate memory for the object.
TopologyMismatch = 0x23 The traverser list position cannot be set because the subentity is not connected to the list owner.
UninitialisedObject = 0xbcd The object is uninitialised.
UnsuitableGeometry = 5 The object has unsuitable geometry for this function.
UnsuitableTopology = 0xbc5 The AutoCAD object or subentity has an unsuitable topology for this function.
WrongObjectType = 0x22FullSubentityPath points to an DBObject object that is not supported as a brep.
WrongSubentityType = 230 The subentity type does not match the subclass.

Was this information helpful?