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
$(+, val1 [, val2, …, val9])
If the current thickness is set to 5, the following DIESEL string returns 15.
$(+, $(getvar,thickness),10)
- (subtraction)
Returns the result of subtracting the numbers val2 through val9 from val1.
$(-, val1 [, val2 , …, val9])
* (multiplication)
Returns the result of multiplying the numbers val1, val2, …, val9.
$(*, val1 [, val2, …, val9])
/ (division)
Returns the result of dividing the number val1 by val2, …, val9.
$(/, val1 [, val2, …, val9])
= (equal to)
If the numbers val1 and val2 are equal, the string returns 1; otherwise, it returns
0.
$(=, val1, val2)
< (less than)
If the number val1 is less than val2, the string returns 1; otherwise, it returns
0.
$(<, val1, val2)
Catalog of DIESEL Functions | 67