Graphisoft®

API Development KitVersion: 18

API_LevelDimensionType

레벨 치수를 의미합니다.

    typedef struct {
        API_Elem_Head       head;
        short               pen;
        short               dimForm;
        GS::Bool8           filler_0;
        GS::Bool8           needPlus;
        GS::Bool8           staticLevel;
        GS::Bool8           filler_1;
        double              markerSize;
        double              angle;
        Int32               filler_2[8];
        API_NoteType        note1;
        API_NoteType        note2;
        API_Coord           loc;
        double              level;
        API_ElemTypeID      parentType;
        Int32               filler_3;
        API_Guid            parentGuid;
        API_DimOriginID     origin;
        Int32               filler_4[7];
    } API_LevelDimensionType;

 

멤버

head
일반적인 요소 헤더입니다.
pen
치수의 펜 속성 인덱스입니다.
dimForm
포맷 [0..9]:
needPlus
양수의 경우 +(플러스) 기호가 필요합니까?
staticLevel
정적 레벨 치수입니까?
markerSize
mm 단위의 마커 크기입니다.
angle
레벨 치수 마커의 각도입니다. [radian]
note1
치수 텍스트의 파라미터들입니다. (API_NoteType을 보십시오)
note2
2차 치수 텍스트의 파라미터들입니다. (API_NoteType을 보십시오); dimForm = 8, 9에 대한 것입니다.
loc
마커의 위치입니다.
level
parent/floor, 또는 static의 레벨입니다.
parentType
이 요소를 참조합니다. (API_ElemTypeID를 보십시오); 만약 API_ZombieElemID이면 floor를 참조합니다.
parentGuid
만약 parentType이 API_ZombieElemID가 아닐 경우 참조된 요소의 유일 ID입니다.
parentGuid 17
참조된 요소의 guid입니다.
origin
치수의 원점입니다. (API_DimOriginID를 보십시오)

 

설명

needFrame 멤버가 v13에서 제거되었습니다; framing은 이제 치수 note에 의해 처리됩니다.

parentIndex 멤버가 v18에서 제거되었습니다; 대신 parentGuid 필드를 사용합니다.

 

요구사항

버전: API 2.1 또는 이후
헤더: APIdefs_Elements.h

 

참고사항

API_Elem_Head, API_ElemTypeID, API_NoteType, API_Coord, API_Element,
요소 관리자, API 타입