API_​StairRiserType

Represents a Riser element.

    typedef struct {
        API_Elem_Head            head;
        API_RiserPositionID      riserPosition;
        API_RiserCrossSectID     crossSect;
        double                   angle;
        double                   offset;
        double                   thickness;
        API_Guid                 owner;
        API_Guid                 libId;
        UInt32                   sequenceNumber;
        UInt32                   subElemId;
        bool                     visible;
        API_StairPartRoleID      role;
        bool                     filler_1[3];
    } API_StairRiserType;

 

Members

head
General element header.
riserPosition
Riser position:

APIRP_OnTread

Risers are placed on top of the treads.

APIRP_BehindTread

Risers are behind the treads.

crossSect
Riser cross section type:

APIRCS_Simple

Simple, straight risers

APIRCS_Slanted

Slanted risers.

angle
Slanting angle of risers, if they are slanted.
offset
Riser gap.
thickness
Riser thickness.
owner
GUID of the owning stair.
libId
Library part GUID.
visible
The object is visible.
sequenceNumber
The number of the step that the riser belongs to.
subElemId
The subelement identifier of the riser.
visible
True, if the object is visible.
role
Role of the Stair subelement.

 

Remarks

 

 

Requirements

Version: API 21 or later
Header: APIdefs_Elements.h

 

See Also

API_LinkToSettings, API_StoryVisibility, API_PolyLineType
API_Elem_Head, API_Element, API_ElementMemo
API_StairType, API_StairTreadType, API_StairStructureType, API_StairRulesData
Element Manager, API Types