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


Each ACIS class derived from ENTITY has a level, which is an integer representing the level of derivation of the class from ENTITY. For example, BODY is directly derived from ENTITY and has a level of 1. SPHERE is derived from SURFACE, which is derived from ENTITY, so SPHERE has a level of 2.


The actual integer value of the level should never directly referenced, since it could change (although this is unlikely). Instead, the level's name should be referenced. Levels for each class are named <CLASS>_LEVEL.


The following table lists the most common classes and their levels of derivation from the ENTITY class:

Class Level Name and Value Class Level Name and Value
BODY BODY_LEVEL = 1 POINT POINT_LEVEL = 1
LUMP LUMP_LEVEL = 1 CURVE CURVE_LEVEL = 1
WIRE WIRE_LEVEL = 1 PCURVE PCURVE_LEVEL = 1
SHELL SHELL_LEVEL = 1 SURFACE SRUFACE_LEVEL = 1
SUBSHELL SUBSHELL_LEVEL = 1 ELLIPSE ELLIPSE_LEVEL = 2
FACE FACE_LEVEL = 1 STRAIGHT STRAIGHT_LEVEL = 2
LOOP LOOP_LEVEL = 1 SPHERE SPHERE_LEVEL = 2
COEDGE COEDGE_LEVEL = 1 CONE CONE_LEVEL = 2
EDGE EDGE_LEVEL = 1 PLANE PLANE_LEVEL = 2
VERTEX VERTEX_LEVEL = 1 TORUS TORUS_LEVEL = 2


SPLINE SPLINE_LEVEL = 2
TRANSFORM TRANSFORM_LEVEL = 1 INTCURVE INTCURVE_LEVEL = 2


MESHSURF MESHSURF_LEVEL = 2
ATTRIB ATTRIB_LEVEL = 1 COMPCURV CO2PCURVE_LEVEL = 1

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