Méthode | Description | |
---|---|---|
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 |
Résultat | void |
public static ValidateCoord ( |
||
coordCtrl | Control contains coordinate information | |
Résultat | bool |
public static ValidateDegree ( |
||
degreeCtrl | Control contains degree information | |
Résultat | bool |
public static ValidateDegrees ( |
||
startDegree | Control contains start degree information | |
endDegree | Control contains end degree information | |
Résultat | bool |
public static ValidateLabel ( |
||
labelCtrl | Control contains label information | |
allLabels | List contains all labels in Revit document | |
Résultat | bool |
public static ValidateLabels ( |
||
label1Ctrl | Control contains label information | |
label2Ctrl | Control contains label information | |
Résultat | bool |
public static ValidateLength ( |
||
lengthCtrl | Control contains length information | |
typeName | String | Type of length |
canBeZero | bool | Whether the length can be zero |
Résultat | bool |
public static ValidateNotNull ( |
||
control | Control contains information needs to be checked | |
typeName | String | Type of information |
Résultat | bool |
public static ValidateNumber ( |
||
numberCtrl | Control contains number information | |
Résultat | bool |
public static ValidateNumbers ( |
||
number1Ctrl | Control contains number information | |
number2Ctrl | Control contains another number information | |
Résultat | bool |