2013
Table Of Contents
- Contents
- Basic Customization
- Custom Linetypes
- Custom Hatch Patterns
- User Interface Customization
- DIESEL
- Command Scripts
- Introduction to Programming Interfaces
- Shapes and Shape Fonts
- Overview of Shape Files
- Create Shape Definition Files
- Shape Descriptions
- Vector Length and Direction Code
- Special Codes
- Use Special Codes
- Codes 0, 1, and 2: End of Shape and Draw Mode Control
- Codes 3 and 4: Size Control
- Codes 5 and 6: Location Save/Restore
- Code 7: Subshape
- Codes 8 and 9: X-Y Displacements
- Code 00A: Octant Arc
- Code 00B: Fractional Arc
- Codes 00C and 00D: Bulge-Specified Arcs
- Code 00E: Flag Vertical Text Command
- Text Font Descriptions
- Sample Files
- Big Font Descriptions
- Unicode Font Descriptions
- Superscripts and Subscripts in SHX Files
- Index
The following expression gets the current value of HPANG; if the value is less
than the value stored in the system variable USERR1, it returns 1. If the value
10.0 is stored in USERR1 and the current setting of HPANG is 15.5, the
following string returns 0.
$(<, $(getvar,hpang),$(getvar,userr1))
> (greater than)
If the number val1 is greater than val2, the string returns 1; otherwise, it returns
0.
$(>, val1, val2)
!= (not equal to)
If the numbers val1 and val2 are not equal, the string returns 1; otherwise, it
returns 0.
$(!=, val1, val2)
<= (less than or equal to)
If the number val1 is less than or equal to val2 , the string returns 1; otherwise,
it returns 0.
$(<=, val1, val2)
>= (greater than or equal to)
If the number val1 is greater than or equal to val2, the string returns 1;
otherwise, it returns 0.
$(>=, val1, val2)
68 | Chapter 5 DIESEL