@fifino wrote:
Hi to everybody!
I’m trying to build a little macro for a button that creates a viewport with the size I write into this macro.
I need to indicate the size as a fraction. This works if the result of the fraction is an integer value (in this case 400) but it doesn’t work if the denominator is a number that produces a non-integer value (for example, if I put 3 in the denominator the macro doesn’t work).
1- is there a way to avoid this?
2- I often need to change the denominator so… is there a way to put the number of the denominator in a window without opening the macro’s button?This is the work in progress macro: thank you in advanced
! _NewFloatingViewport
_Projection _Perspective
_-viewportproperties
s
800/2
800/2
!
Posts: 1
Participants: 1