Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Aug 25, 2005
Messages
10
Location
GB
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.
 
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

Back
Top