Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Im working on a lisp that will change my xref name and its directory. But i want to tweak it abit but i have no clue how to do it.
The problem i have is ive got multiple drawings. and the 100 numers change to 200 300 etc
I dont want to make a new command for every new combination of numbers so i just want to match The first 5 letters in this case E63.1 and change it to E64.1
final result will be E63.1-100 to E64.1-100. Any ideas out there??
(defun c:mk64_01 () (command "-rename" "b" "E63.1-100*" "E64.1-100*") (command "-xref" "p" "E64.1-100" "..\\Modell\\E64.1-100.dwg") (command "-rename" "b" "F63" "F64") (command "-xref" "p" "F64" "..\\Kompl\\F64.dwg") )
Solved! Go to Solution.