Lisp to set ucs and view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
so im trying to do it in action recorder, but i have failed. wondering if lisp could do it instead....
basically the workflow im trying to consolidate is: ucsfollow to 1, setting the ucs to an object(which rotates the view), saving the ucs as "plan", and then turning ucsfollow off, and saving the view as "plan"(with no layer snapshot)
it seems pretty straightforward, but with action recorder i run into a problem when i try to save the ucs and/or view as plan if it already exists. aka these are the commands i record:
ucsfollow
1
ucs
enter
ob
enter
(pauses for user input)
ucs
enter
save
enter
name of ucs(its the same all the time)
enter*****
-view
enter
save
enter
name of view(same all the time)
enter*****
*****- these are the points at which i run into issues, because if it exists, i have to record a Y and a enter to overwrite, but if i include a Y and and enter to overwrite and the named ucs/view doesnt exist in the drawing, i get an error.
Thanks all. if this is possible via action recorder, im open to that solution as well.