LECTURE PRESENTATION
Outline
See “NXProgramming & Customization”
Scripts
Excel generation of commands
- Search & Replace (Delimiters)
- Concatenate Strings in Excel
- Command Line Paste (.txt)
Script files (see link)
- AutoCAD Script Example
- Drawing File (with a block called “zipmarker”)
- Script File (Rename to .scr)
Attribute Extraction (see AutoCAD Reference)
- Attribute Extraction (.dwg)
- TEMPLATE (.txt)
- Sample Data (.txt)
Programming interfaces
Macros
AutoLISP/Vlisp (Reference Guide)(basics)
Example:
Realize for AutoCAD – Generate simple G-code in AutoCAD
cncengrave (revised version of Chris Radek’s realize)
Open AutoCAD, type “appload” and load the lisp file.
Will create the command “engrave”
VBA
NX Open
NX Grip