Object Type
List of: Discussion Topic
Subjects: Entity, Model Object
Contents: Application Development Manual


Each ACIS class derived from ENTITY has a type. Each type is assigned a unique constant integer value associated with the class at compile time. No two type variables have the same value.


The actual integer value of a type should never be directly referenced in code, since it may change. Instead, the type's name should be referenced. Types are named <CLASS>_TYPE.


The following table lists the most common classes and type names:

Class Type Name Class Type Name
BODY BODY_TYPE POINT POINT_TYPE
LUMP LUMP_TYPE CURVE CURVE_TYPE
WIRE WIRE_TYPE PCURVE PCURVE_TYPE
SHELL SHELL_TYPE SURFACE SRUFACE_TYPE
SUBSHELL SUBSHELL_TYPE ELLIPSE ELLIPSE_TYPE
FACE FACE_TYPE STRAIGHT STRAIGHT_TYPE
LOOP LOOP_TYPE SPHERE SPHERE_TYPE
COEDGE COEDGE_TYPE CONE CONE_TYPE
EDGE EDGE_TYPE PLANE PLANE_TYPE
VERTEX VERTEX_TYPE TORUS TORUS_TYPE


SPLINE SPLINE_TYPE
TRANSFORM TRANSFORM_TYPE INTCURVE INTCURVE_TYPE


MESHSURF MESHSURF_TYPE
ATTRIB ATTRIB_TYPE COMPCURV COMPCURVE_TYPE

PDF/APPDEV/04IDOBJ.PDF
HTM/DATA/ACIS/APPDEV/04IDOBJ/0003.HTM