Jump to content

Recommended Posts

Posted

Is there a script (non-lisp) I can use that will allow me to set the rotation of an object to that of the Dview twist?

 

I have this lisp, for example, which sets the snapang to the value of the Dview twist:

 

(setq twang (-(/ (* (GETVAR "viewtwist") 180.0) PI))

)

(initdia)

(command "snapang" twang)

)

 

But I need something that will do the same within LT2010. I don't know enough about script-writing to see if it's possible or not.

 

I know that rotating the UCS is another option here, but the key thing I need is the method by which I can set a rotation value by referencing another setting (in this case, Dview twist value).

 

Thanks!

Posted

So, am I asking the impossible, or is it just that nobody knows the answer?

 

I realise that I basically need to just learn Diesel, so hopefully in doing that I will figure out how to set a particular value to the same as that of another variable.

Posted

Vpoint 1,1,1 is 45 horizontal 45 vertical play with the numbers x,y,z 1,1,0 0,1,0

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...