Simple formula divide by 2

Simple formula divide by 2

m-de-lange
Collaborator Collaborator
2,538 Views
2 Replies
Message 1 of 3

Simple formula divide by 2

m-de-lange
Collaborator
Collaborator

Hi,

 

I'm struggling with the most easy formula of all formula's..

I've got a Width parameter that i need to divide by 2.

 

Why? I made a simple lighting fixture family that needs to be able to stretch and shrink in a square or rectangle form.

My problem is that the width and length parameters need to be equal on both sides of the center reference plane in the family editor.

However, that causes the dimensions to be double. As example, 150 on the left AND 150 on the right. But i need the length to be 150 total. Not 300.

 

What would be the best way to get a length of 150 and have it as a value of 150 in the parameter aswell?

 

 

0 Likes
2,539 Views
2 Replies
Replies (2)
Message 2 of 3

dmiller_SCE
Collaborator
Collaborator

create and equal constraint and then an overall parameter for the total length.

 

Capture 5.JPG

0 Likes
Message 3 of 3

Anonymous
Not applicable

I would also suggest using equal dimensions and having two separate parameters for length and width so they can be controlled independently of each other. You can also set the width to be half of Length with "=Length / 2".

The equal dimension will keep the family centered on the origin.

0 Likes