메소드 | 설명 | |
---|---|---|
CovertFromAPI ( DisplayUnitType to, double value ) : double |
Convert the value get from RevitAPI to the value indicated by DisplayUnitType
|
|
CovertToAPI ( double value, DisplayUnitType from ) : double |
Convert a value indicated by DisplayUnitType to the value used by RevitAPI
|
메소드 | 설명 | |
---|---|---|
ImperialDutRatio ( DisplayUnitType dut ) : double |
Get ratio between value in RevitAPI and value to display indicated by DisplayUnitType
|
public static CovertFromAPI ( DisplayUnitType to, double value ) : double | ||
to | DisplayUnitType | DisplayUnitType indicates unit of target value |
value | double | value get from RevitAPI |
리턴 | double |
public static CovertToAPI ( double value, DisplayUnitType from ) : double | ||
value | double | Value to be converted |
from | DisplayUnitType | DisplayUnitType indicates the unit of the value to be converted |
리턴 | double |