Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

using a formula for number of instances 1

Status
Not open for further replies.

duncancat

Electrical
Aug 25, 2005
10
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.
 
Replies continue below

Recommended for you

Hi,

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
 

That worked great - thanks very much.
The problem I had was with the units, and dividing by mm to cancel them is very neat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor