API_WallReferenceLineLocationID
Distinguishes among the different wall reference line locations.
typedef enum { APIWallRefLine_Outside, APIWallRefLine_Center, APIWallRefLine_Inside, APIWallRefLine_CoreOutside, APIWallRefLine_CoreCenter, APIWallRefLine_CoreInside } API_WallReferenceLineLocationID;
Members
- APIWallRefLine_Outside
- The reference line location is on the outside face of the wall.
- APIWallRefLine_Center
- The reference line location is on the center of the wall.
- APIWallRefLine_Inside
- The reference line location is on the inside face of the wall.
- APIWallRefLine_CoreOutside
- The reference line location is on the core outside skin of the composite structure.
- APIWallRefLine_CoreCenter
- The reference line location is on the center of core skin of the composite structure.
- APIWallRefLine_CoreInside
- The reference line location is on the core inside skin of the composite structure.
Remarks
These constants determine the location of the reference line in the wall. This — along with the new flipped member in API_WallType — replace the old API_WallDirID, and allow you to exactly position the reference line, instead of coding both this position and the 'flippedness' of the wall into one member.
Imagine a horizontal unflipped composite wall drawn from left to right (as shown in the Composite Settings dialog): outside is the top, inside is the bottom.
Note that only composite walls may have a core-related reference line location; polygonal and complex walls always use APIWallRefLine_Outside. Profiled walls don't use this member, as their reference line always goes through their origin.
When its value is APIWallRefLine_Center or APIWallRefLine_CoreCenter, you cannot specify an offset in the API_WallType structure.
The new offsetFromOutside output only member in API_WallType tells you the distance between the 'top' of the wall (as shown in the Composite Settings dialog) and the reference line's position.
Requirements
- Version: API 17 or later
- Header: APIdefs_Elements.h