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
If which is 0, nth returns arg0, and so on. Note the difference between $(nth)
and $(index); $(nth)returns one of a series of arguments to the function, while
$(index) extracts a value from a comma-delimited string passed as a single
argument. Arguments not selected by which are not evaluated.
or
Returns the bitwise logical OR of the integers val1 through val9.
$(or, val1 [, val2,…, val9])
rtos
Returns the real value in the format and precision specified.
$(rtos, value [, mode, precision])
Edits the given value as a real number in the format specified by the mode and
precision as defined by the analogous AutoLISP function. If mode and precision
are omitted, it uses the current values selected with the UNITS command.
strlen
Returns the length of string in characters.
$(strlen, string)
substr
Returns the substring of string, starting at character start and extending for
length characters.
$(substr, string, start [, length])
Characters in the string are numbered from 1. If length is omitted, it returns
the entire remaining length of the string.
Catalog of DIESEL Functions | 73