Graphisoft®

API Development KitVersion: 18

API_UnitPrefs

Preferences / Units 탭 페이지를 의미합니다.

    typedef struct {
        API_UnitTypeID      lengthUnit;
        API_AngleTypeID     angleUnit;
        short               roundInch;
        short               lenDecimals;
        short               angleDecimals;
        short               angleAccuracy;
        Int32               filler_1[12];
    } API_UnitPrefs;

 

멤버

lengthUnit
길이 측정 단위의 타입입니다.
angleUnit
각도 측정 단위의 타입입니다.
roundInch
1, 2, 4, 8, 16, 32, 64
lenDecimals
길이 측정 단위의 소수점 개수입니다. ( 0..4 )
angleDecimals
각도 측정 단위의 소수점 개수입니다. ( 0..4 )
angleAccuracy
0..4

 

설명

이 structure는 Unit preferences 페이지의 설정을 가져오는 APIEnv_GetPreferencesID 함수에서 사용합니다.

 

요구사항

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

 

참고사항

APIEnv_GetPreferencesID, API_UnitTypeID, API_AngleTypeID, API 타입