AutoCAD Electrical
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
order Lisp Command run
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello All,
I am having issues with the end of a lisp routine.
The routine creates a project and populates in the requested drawings.
After it is created I run the following
(close PROJECTFILE)
(prompt "\nProject Creation Successful!")
(c:wd_makeproj_current (strcat DWGDIR"/"JOBNUM".WDP")) ;makes new proj active
(command "FILEOPEN" "Y" (strcat DWGDIR"/"JOBNUM"_MCP_001.DWG")) ;opens first drawing in project
(c:ace_projwide_script "" "(c:shtnum.lsp)")
(c:ace_retag_project nil nil)
(PRINC)
);defun main
(princ)
The issue is i need to run them in this order but it is running the ace retag then the sheet # update which creates the wrong numbers during the retag.
I have tried switching the 2 with the same result.
Any idea what I am doing wrong or how to fix this????
Thanks
Dennis
