using a formula for number of instances
using a formula for number of instances
(OP)
I want to use a fromula in the INSTANCES field of the RECTANGULAR PATTERN DEFINITION panel.
The result I want in the INSTANCES field is the length of a pad (no problem adding this), divided by 44.45 and then rounded down to the nearest whole number.
I cant get it to work and would appreciate any suggestions.
The result I want in the INSTANCES field is the length of a pad (no problem adding this), divided by 44.45 and then rounded down to the nearest whole number.
I cant get it to work and would appreciate any suggestions.





RE: using a formula for number of instances
try this
round(PartBody\Sketch.1\Length.5\Length /44.45*1/1mm)
and change PartBody\Sketch.1\Length.5\Length to your lenght.
/Akesson
RE: using a formula for number of instances
That worked great - thanks very much.
The problem I had was with the units, and dividing by mm to cancel them is very neat.