## How to protect aspect ratio in a group with 1-D and 2-D members

Started by novski, March 15, 2016, 03:51:37 PM

0 Members and 1 Guest are viewing this topic.

#### novski

Hi
I have a question regarding the Aspect Ratio of a 1-D and 2-D shape.
Im able to generate a group of shapes that resize proportionaly.
But as soon as i change a member of the group to 1-D that shape does not resize proportionaly.
I made a sample file with a comment how to replicate...
why does it not resize proportionaly?
even if the protection Aspect ratio is checked...
Regards, Novski

#### Yacine

Hi Novski,
I don't know the answer to your question and am honestly too lazy to investigate the issue, but it made me think of a small handy tool that would allow for setting up the resizing behaviour of the child shapes.
Cheers,
Y.
Yacine

#### novski

Hi Yacine
That tool looks quite handy. That tool cold help a lot.
Im wondering about the Parent seting. I am not aware of a cell that defines the parent i also don't know how to set a parent shape in a Group.
Is it possible to set a parent shape in the group-shapesheet or where can i set a specific shape to become parent of the group?
Regards, Novski

#### novski

#3
Quote from: novski on March 15, 2016, 03:51:37 PM
Hi
I have a question regarding the Aspect Ratio of a 1-D and 2-D shape.
Im able to generate a group of shapes that resize proportionaly.
But as soon as i change a member of the group to 1-D that shape does not resize proportionaly.
I made a sample file with a comment how to replicate...
why does it not resize proportionaly?
even if the protection Aspect ratio is checked...
Regards, Novski

I figured out a workaround to make a shape resize in same ratio.

open shape sheet.
Go to the cell "Height" in the top of the sheet and give it a fourmula like that: =GUARD(Width*57/36) or your ratio in form of a fraction like mine where i wrote "57/36"
This fraction can be the Height/Width numbers copy pasted from the size and position window.
For a Rack Unit (RU & HE) its =GUARD(((Width/19)*1.75)*3) where "3" is the Height in RU / HE.
Then it resizes like a protection of Aspect ratio.
Regards, Novski

#### Yacine

Hi Novski,
I worked out the tool, but put it in a separate post, as I thought it could stand for its own: https://youtu.be/JkwpbHr1vOw.
Cheers,
Y.
Yacine

#### novski

looks like a usefull tool. Do yu give that away?
Regards, Novski

#### Yacine

I understand that every thing published here is open source. isn't it?
But I see that I forgot to send the link: http://visguy.com/vgforum/index.php?topic=7120.msg29936#msg29936
Yacine