-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Appendix 1. A list of keywords and reserved variables
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Appendix 1. A list of keywords and reserved variables
SVersion=2; |
The first line of the script, which determines the version of the interpreter |
strTheType |
Object type |
strTheName |
Object Name |
strTheSubType |
Subtype object |
pntOrigin |
Insertion point |
vecDirection |
Vector insertion direction |
VecPlane |
Orthogonal vector to vecDirection |
Scl |
Object Zoom |
rZOrder |
Ranking (used for overlap) |
strDesignName |
Execution system name |
rXcoord |
Relative abscissa cursor with dynamic selection of the parameters |
rYcoord |
Relative ordinate cursor with dynamic selection of the parameters |
VecCoord |
Mostly available in OnSelectParam VecCoord: X - X coordinate of the relative VecCoord: Y - Y coordinate of the relative |
pntGrip# |
(# Number) point pens with the number # |
rPart |
Serial number of the request. |
rKbd |
Flag keyboard input. Equal to 1 if the value is entered from the keyboard. |
strPartName |
Name of detail in the specification (section name) |
strPartDescription |
Part description in the specification (section designation) |
strPromt |
Help line (in the dynamic selection or when selecting items for a connection) |
NSelect |
The number of requests when inserting objects. |
NPart |
Number of selectable parameters if 0 or undefined then simply called dialogue. |
BreakCur |
End the current dynamic parameter selection |
BreakAll |
Complete the entire cycle of selection of dynamic parameters |
NoVectorSelect |
Does not indicate the vector inserts (used at a connection) |
Handled |
Result processing facility |
NGrip |
Number of Handles |
NMovingGrip |
Phone editable pens |
lSimpleView |
Variable specifies the type of species, UniDialog created and installed automatically. If == 1 - a simplified view. If == 2 - sectional view |
scaleDisable |
If this parameter is set to 1 in UniDialog prohibits the changing Scale |
ShowWhenSelPnt |
If this box is checked, the object will be drawn at the time of insertion, if not specified, it is enabled by default |
ContourOnLine |
Generation circuit is not drawing from a script, and on the fly after drawing |
IsAHole |
The object is a hole (Embedded object) |
OnDlgBeforeSelectParam |
Call dialogue before calling OnSelectParam. |
IsACalculator |
Is set equal to 1 for the calculations |
No3dViews |
Disables automatic views |
AutoShift |
Automatic pseudo-pressing of the Shift button |
UseOnlyZOrder |
Used only for crossing rZOrder, do not use Z-coordinate |
fUseCommonScale |
Maintain external control scale |
MINPOSSIBLEVALUE |
The minimum acceptable value for the application |
NotStdBody |
If == 1, then the item is placed in the component catalog |
SpecPartition |
Unit specifications, which gets the item |
UnknownVal=nknownValue=-0,12345 |
The value assigned to the default variable. If the variable is not defined, it is assigned a value. |
Filter List function SelectInCache:
- "kAsk" - Ask the user.
- "kFirst" - Find the first value in the table that satisfies a specified condition.
- "kLast" - Find FOLLOWING value in the table that satisfies a specified condition.
- "kFilter" - all the values from the table that satisfy the specified condition.
- "kAskIfNeed" - Ask user if the selection was not successful.
Values that the variable can Handled:
- OBJ_UNHANDLED - Dependencies are not processed.
- OBJ_HANDLED - Dependencies processed
- OBJ_WAITMORE - Waiting for Input
- OBJ_WAITMORE_M
- OBJ_WARNING- Error installing dependencies. When returning this code, the parent object will seek to establish the same parameters as that of the child, and then update the child object is repeated.
- OBJ_ERROR
Constants for the variable type lViewType
- VFRONT - Front view
- VLEFT - Top view
- VRIGHT - Bottom View
- VTOP - Left View
- VBOTTOM - Right Side View
- VBACK - Rear View
Types depending
- INSERT - Insert
- MATE - Combination by plane
- AXIS - Combining axis
- DIRECTION - Combining the direction
- ANGLE - The angular dependence
Subtypes depending
- CODIRECT - co-directional dependence
- CONTRDIRECT - contra dependence
Recurrence dialog codes or function MessageBox:
- IDOK
- IDCANCEL
- IDYES
- IDNO
Codes for the function MessageBox:
- MB_YESNO
- MB_OKCANCEL
- MB_OK
- MB_ICONINFORMATION
- MB_ICONQUESTION
- MB_ICONERROR
- MB_ICONWARNING
Example:
MessageBox("Test"); if(IDYES == MessageBox("Yes or No", MB_YESNO, MB_ICONQUESTION)){ ... }