Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Current Vport Scale

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
123 Views, 5 Replies

Current Vport Scale

Is there a getvar for the scale of the currently open vport?

--

Chip Harper
Member of the AutoDesk Discussion Forum Moderator Program
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

Chip

(caddr (trans '(0 0 1) 2 3))
does the stuff you want... 8-)

Cheers
--
Juerg Menzi
MENZI ENGINEERING GmbH, Switzerland
http://www.menziengineering.ch
Message 3 of 6
Anonymous
in reply to: Anonymous

Cool, Thanks! 🙂

--

Chip Harper
Member of the AutoDesk Discussion Forum Moderator Program
Message 4 of 6
Anonymous
in reply to: Anonymous

oops, posted too soon. How do I apply the supplied code? It returns the same
value regardless of my current vport settings....?

--

Chip Harper
Member of the AutoDesk Discussion Forum Moderator Program


"Jürg Menzi" wrote in message
news:3EEB2816.B9F0524F@bluewin.ch...
> Chip
>
> (caddr (trans '(0 0 1) 2 3))
> does the stuff you want... 8-)
>
> Cheers
> --
> Juerg Menzi
> MENZI ENGINEERING GmbH, Switzerland
> http://www.menziengineering.ch
Message 5 of 6
Anonymous
in reply to: Anonymous

You sure? works fine here with a cut/paste to the command
line from within different scale viewports

--

-Jason
Member of the Autodesk Discussion Forum Moderator Program


"Chip Harper" wrote in message news:5BF1EEC4DFB544217AED3916D67E9352@in.WebX.maYIadrTaRb...
> It returns the same value regardless of my current vport settings....?
Message 6 of 6
Anonymous
in reply to: Anonymous

Well, I just tried it again and got the same result, then I realized why. I
had created a test viewport, copied the tab and forgot to change the scale
on the second tab! Dummy me. Thanks again 🙂


--

Chip Harper
Member of the AutoDesk Discussion Forum Moderator Program

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost