version 6.0
DR SET RULER (area; baseU; scaleU; baseV; scaleV; divisions)
| Parameter | Type | Description | |
| area | Longint | 4D Draw area | |
| baseU | Integer | Base unit | |
| scaleU | Integer | Scale unit | |
| baseV | Real | Base value | |
| scaleV | Real | Scale value | |
| divisions | Integer | Number of minor divisions |
Description
The command DR SET RULER changes the basic ruler setup for area according to the baseU, divisions, baseV, scaleV, and scaleU parameters.
baseU specifies the base units for area. The possible base units are inches, centimeters, or points.
scaleU specifies the scale units for area. Scale units are displayed in the Coordinates panel. scaleU can be any of the possible unit types.
baseV and scaleV specify the relationship between base units and scale units. One base unit corresponds to scaleV / baseV scale units. Divisions specifies the number of minor ruler divisions to display on screen.
See the description of DR GET RULER for a complete list of unit codes.
Example
The following example changes the ruler setup for Area to 1 inch equals 1 foot, with 8 minor ruler divisions.
DR SET RULER (Area;1;2;1;1;8)
See Also