Метод | Описание | |
---|---|---|
ShowWarningMessage ( String message, String caption ) : void |
Show a warning message box
|
|
ValidateCoord ( |
Validate coordinate value
|
|
ValidateDegree ( |
Validate degree value
|
|
ValidateDegrees ( |
Validate start degree and end degree
|
|
ValidateLabel ( |
Validate label
|
|
ValidateLabels ( |
Assure two labels are not same
|
|
ValidateLength ( |
Validate length value
|
|
ValidateNotNull ( |
Assure value is not null
|
|
ValidateNumber ( |
Validate number value
|
|
ValidateNumbers ( |
Validate numbers in UI
|
public static ShowWarningMessage ( String message, String caption ) : void | ||
message | String | Message |
caption | String | title of message box |
Результат | void |
public static ValidateCoord ( |
||
coordCtrl | Control contains coordinate information | |
Результат | bool |
public static ValidateDegree ( |
||
degreeCtrl | Control contains degree information | |
Результат | bool |
public static ValidateDegrees ( |
||
startDegree | Control contains start degree information | |
endDegree | Control contains end degree information | |
Результат | bool |
public static ValidateLabel ( |
||
labelCtrl | Control contains label information | |
allLabels | List contains all labels in Revit document | |
Результат | bool |
public static ValidateLabels ( |
||
label1Ctrl | Control contains label information | |
label2Ctrl | Control contains label information | |
Результат | bool |
public static ValidateLength ( |
||
lengthCtrl | Control contains length information | |
typeName | String | Type of length |
canBeZero | bool | Whether the length can be zero |
Результат | bool |
public static ValidateNotNull ( |
||
control | Control contains information needs to be checked | |
typeName | String | Type of information |
Результат | bool |
public static ValidateNumber ( |
||
numberCtrl | Control contains number information | |
Результат | bool |
public static ValidateNumbers ( |
||
number1Ctrl | Control contains number information | |
number2Ctrl | Control contains another number information | |
Результат | bool |