API_​ElemTypeID

The type of an element.

    typedef enum {
        API_ZombieElemID = 0,
        API_WallID = 1,
        API_ColumnID = 2,
        API_BeamID = 3,
        API_WindowID = 4,
        API_DoorID = 5,
        API_ObjectID = 6,
        API_LampID = 7,
        API_SlabID = 8,
        API_RoofID = 9,
        API_MeshID = 10,
        API_DimensionID = 11,
        API_RadialDimensionID = 12,
        API_LevelDimensionID = 13,
        API_AngleDimensionID = 14,
        API_TextID = 15,
        API_LabelID = 16,
        API_ZoneID = 17,
        API_HatchID = 18,
        API_LineID = 19,
        API_PolyLineID = 20,
        API_ArcID = 21,
        API_CircleID = 22,
        API_SplineID = 23,
        API_HotspotID = 24,
        API_CutPlaneID = 25,
        API_CameraID = 26,
        API_CamSetID = 27,
        API_SectElemID = 29,
        API_DrawingID = 30,
        API_PictureID = 31,
        API_DetailID = 32,
        API_ElevationID = 33,
        API_InteriorElevationID = 34,
        API_WorksheetID = 35,
        API_HotlinkID = 36,
        API_CurtainWallID = 37,
        API_CurtainWallSegmentID = 38,
        API_CurtainWallFrameID = 39,
        API_CurtainWallPanelID = 40,
        API_CurtainWallJunctionID = 41,
        API_CurtainWallAccessoryID = 42,
        API_ShellID = 43,
        API_SkylightID = 44,
        API_MorphID = 45,
        API_ChangeMarkerID = 46,
        API_StairID = 47,
        API_RiserID = 48,
        API_TreadID = 49,
        API_StairStructureID = 50,
        API_RailingID = 51,
        API_RailingToprailID = 52,
        API_RailingHandrailID = 53,
        API_RailingRailID = 54,
        API_RailingPostID = 55,
        API_RailingInnerPostID = 56,
        API_RailingBalusterID = 57,
        API_RailingPanelID = 58,
        API_RailingSegmentID = 59,
        API_RailingNodeID = 60,
        API_RailingBalusterSetID = 61,
        API_RailingPatternID = 62,
        API_RailingToprailEndID = 63,
        API_RailingHandrailEndID = 64,
        API_RailingRailEndID = 65,
        API_RailingToprailConnectionID = 66,
        API_RailingHandrailConnectionID = 67,
        API_RailingRailConnectionID = 68,
        API_RailingEndFinishID = 69,
        API_AnalyticalSupportID = 70,
        API_AnalyticalLinkID = 71,
        API_BeamSegmentID = 72.
        API_ColumnSegmentID = 73
    } API_ElemTypeID;

 

Members

API_ZombieElemID
Dummy element type. Can be used in certain functions (like in ACAPI_Element_GetRelations).
API_WallID
Wall element.
API_ColumnID
Column element.
API_BeamID
Beam element.
API_WindowID
Window element.
API_DoorID
Door element.
API_ObjectID
Object element.
API_LampID
Lamp element.
API_SlabID
Slab element.
API_RoofID
Roof element.
API_MeshID
Mesh element.
API_DimensionID
Dimension element.
API_RadialDimensionID
Radial dimension element.
API_LevelDimensionID
Level dimension element.
API_AngleDimensionID
Angle dimension element.
API_TextID
Text element.
API_LabelID
Label element.
API_ZoneID
Zone (room) element.
API_HatchID
Hatch element.
API_LineID
Line element.
API_PolyLineID
PolyLine element.
API_ArcID
Arc element.
API_CircleID
Circle element.
API_SplineID
Spline element.
API_HotspotID
Hotspot element.
API_CutPlaneID
Section element.
API_CameraID
Camera element.
API_CamSetID
Camera set element.
API_SectElemID
Element in sections.
API_DrawingID
Drawing element.
API_PictureID
Picture element.
API_DetailID
Detail element.
API_ElevationID 11
Elevation element.
API_InteriorElevationID 11
Interior elevation element.
API_WorksheetID 11
Worksheet element.
API_HotlinkID API 12
Hotlink element.
API_CurtainWallID API 12
Curtain wall element.
API_CurtainWallSegmentID API 12
Curtain wall segment element.
API_CurtainWallFrameID API 12
Curtain wall frame element.
API_CurtainWallPanelID API 12
Curtain wall panel element.
API_CurtainWallJunctionID API 12
Curtain wall junction element.
API_CurtainWallAccessoryID API 12
Curtain wall accessory element.
API_ShellID Featuring API 15
Shell element.
API_SkylightID Featuring API 15
Skylight element.
API_MorphID Featuring API 16
Morph element.
API_ChangeMarkerID Featuring API 18
ChangeMarker element.
API_StairID New in API 21
Stair element.
API_RiserID New in API 21
Stair Riser element.
API_TreadID New in API 21
Stair Tread element.
API_StairStructureID New in API 21
Stair Structure element.
API_RailingID New in API 21
Railing element.
API_RailingToprailID New in API 21
Toprail element.
API_RailingHandrailID New in API 21
Handrail element.
API_RailingRailID New in API 21
Rail element.
API_RailingPostID New in API 21
Railing Post element.
API_RailingInnerPostID New in API 21
Inner Post element.
API_RailingBalusterID New in API 21
Baluster element.
API_RailingPanelID New in API 21
Railing Panel element.
API_RailingSegmentID New in API 21
Railing segment element.
API_RailingNodeID New in API 21
Railing Node element.
API_RailingBalusterSetID New in API 21
Baluster Set element.
API_RailingPatternID New in API 21
Railing Pattern element.
API_RailingToprailEndID New in API 21
Toprail End element.
API_RailingHandrailEndID New in API 21
Handrial End element.
API_RailingRailEndID New in API 21
Rail End element.
API_RailingToprailConnectionID New in API 21
Toprail Connection element.
API_RailingHandrailConnectionID New in API 21
Handrail Connection element.
API_RailingRailConnectionID New in API 21
Rail Connection element.
API_RailingEndFinishID New in API 22
Railing end finish element.
API_AnalyticalSupportID New in API 24
Analytical Support element.
API_AnalyticalLinkID New in API 24
Analytical Link element.
API_BeamSegmentID  New in API 23
Beam segment element.
API_ColumnSegmentID  New in API 23
Column segment element.

 

Remarks

This is general constant which describes the different element types, and is used in most element-related operations.

5.1  Use the API_FirstElemType and API_LastElemType defines in loops that enumerate all element types.

10  With the APIAny_GetElemTypeNameID goody function you can retrieve the localized name of the element types.

 

Requirements

Version: API 2.1 or later
Header: APIdefs_Elements.h

 

See Also

API_Elem_Head, API_Element
Element Manager, API Types