version 6.0
DR DO COMMAND (area; command)
| Parameter | Type | Description | |
| area | Longint | 4D Draw area | |
| command | Longint | Number of command |
Description
The command DR DO COMMAND executes the menu item specified by command. The menu item is executed as if the user had chosen it from a 4D Draw menu. Use this command to perform any actions that do not have a procedural equivalent.
The possible values for command are listed in Appendix F, Command Codes. These numbers will remain the same even if menu items are changed or moved in future versions of 4D Draw.
Example
The following example sends the selected objects in Area to the back of the drawing.
DR DO COMMAND (Area;5002)
See Also