API_​ElemVariationID

Describes the subcategory of an element.

    typedef enum {
        APIVarId_Generic,
        APIVarId_LabelWall2,
        APIVarId_LabelColumn,
        APIVarId_LabelBeam,
        APIVarId_LabelWind,
        APIVarId_LabelDoor,
        APIVarId_LabelSkylight,
        APIVarId_LabelSymb,
        APIVarId_LabelLight,
        APIVarId_LabelMorph,
        APIVarId_LabelVirtSy,
        APIVarId_LabelCeil,
        APIVarId_LabelRoof,
        APIVarId_LabelShell,
        APIVarId_LabelMesh,
        APIVarId_LabelHatch,
        APIVarId_LabelCurtainWall,
        APIVarId_LabelCWPanel,
        APIVarId_LabelCWFrame,
        APIVarId_LabelCWAccessory,
        APIVarId_LabelCWJunction,
        APIVarId_SymbStair,
        APIVarId_WallEnd,
        APIVarId_Door,
        APIVarId_Skylight,
        APIVarId_Object,
        APIVarId_GridElement,
        APIVarId_Light,
        APIVarId_CornerWindow
    } API_ElemVariationID;

 

Members

APIVarId_Generic
Generic element.
APIVarId_LabelWall2
Label is associated with wall (not used).
APIVarId_LabelColumn
Label is associated with column (not used).
APIVarId_LabelBeam
Label is associated with beam (not used).
APIVarId_LabelWind
Label is associated with window (not used).
APIVarId_LabelDoor
Label is associated with door (not used).
APIVarId_LabelSkylight Featuring API 15
Label is associated with skylight (not used).
APIVarId_LabelSymb
Label is associated with object (not used).
APIVarId_LabelLight
Label is associated with lamp (not used).
APIVarId_LabelMorph 16
Label is associated with a morph.
APIVarId_LabelVirtSy
Label is associated with section element (not used).
APIVarId_LabelCeil
Label is associated with slab (not used).
APIVarId_LabelRoof
Label is associated with roof (not used).
APIVarId_LabelShell Featuring API 15
Label is associated with shell (not used).
APIVarId_LabelMesh
Label is associated with mesh (not used).
APIVarId_LabelHatch
Label is associated with hatch (not used).
APIVarId_LabelCurtainWall Featuring API 12
Label is associated with Curtain Wall.
APIVarId_LabelCWPanel Featuring API 12
Label is associated with CWPanel.
APIVarId_LabelCWFrame Featuring API 12
Label is associated with CWFrame
APIVarId_LabelCWAccessory Featuring API 12
Label is associated with CWAccessory.
APIVarId_LabelCWJunction Featuring API 12
Label is associated with CWJunction.
APIVarId_SymbStair
Stair (object subtype).
APIVarId_WallEnd 5.1
Wall End (window subtype).
APIVarId_Door 20
Door (opening subtype).
APIVarId_Skylight 20
Skylight (opening subtype).
APIVarId_Object 20
Generic object.
APIVarId_GridElement 20
Grid element.
APIVarId_Light 20
Generic light.
APIVarId_CornerWindow 20
Corner window.

 

Remarks

API_ElemVariationID is an extension of typeID (see API_Elem_Head). These are built in subcategories. But if you register an own subtype with ACAPI_Register_Subtype function you have to pass at first a four-character identifier the variationID (your signature). This is an arbitrary long value wherewith you can identify your own subtype. It is used only in case of library elems (object, lamp, window, door).

 

Requirements

Version: API 4.1 or later
Header: APIdefs_Elements.h

 

See Also

API Types
Library Part Subtypes