Jump to content

Recommended Posts

Posted

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.

 

Posted
13 minutes ago, Aftertouch said:

 

 

How about

 

(command "_UCS" "_wo" "_PLAN" "")

 

Posted

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?

  • Like 1
Posted
25 minutes ago, Aftertouch said:

 (command "PLAN" "")

@Aftertouch - Perhaps (command "._PLAN" "_W") ?

Posted

@CyberAngel thanks, a simple 'REGENALL' solved the issue...

Took me a few hours 😂

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...