Aftertouch Posted April 4, 2024 Posted April 4, 2024 Hi all, i got quite a large script, but at this part: (setvar "CTAB" "Model") (command "UCS" "W") (command "PLAN" "") Model is activated, UCS is set to world, but AutoCAD refuses to PLAN te screen..... Is this a know issue and is there a workaround available? If not... How can i detect is the current view is not world? UCSXDIR and UCSYDIR are showing the expected values, even if the screen is rotated. Quote
Least Posted April 4, 2024 Posted April 4, 2024 13 minutes ago, Aftertouch said: How about (command "_UCS" "_wo" "_PLAN" "") Quote
CyberAngel Posted April 4, 2024 Posted April 4, 2024 I used (command "PLAN" "") to switch from a non-world UCS to world, and it worked. It wasn't in a function, though. Is it possible that you need to run a Regen as well? 1 Quote
pkenewell Posted April 4, 2024 Posted April 4, 2024 25 minutes ago, Aftertouch said: (command "PLAN" "") @Aftertouch - Perhaps (command "._PLAN" "_W") ? Quote
Aftertouch Posted April 5, 2024 Author Posted April 5, 2024 @CyberAngel thanks, a simple 'REGENALL' solved the issue... Took me a few hours Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.