×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Attribute question NX6

Attribute question NX6

Attribute question NX6

(OP)
I have a question regarding attributes and automation.

In the attached jpeg, there are holes in 9 holes in line with each other and 8 columns.

I have attributes set up for # of rows and columns, distance from the edges of the pocket to the center of the first circle, pocket height and width.  My end goal is to change the # of rows and columns and they adjust accordingly inside the pocket.  I need them equally spaced between each other vertically.  I need the columns equally spaced between the 1st and 2nd and 3rd and 4th, every other.  

I am having trouble getting the holes equally spaced between one another from one column to the next.  Only if I have perfect numbers can I achieve it.

Anyone have any guidance for me?  Thank you.

Justin
Designer

RE: Attribute question NX6

you should be able to use your expressions to determine the spacing.

For instance when I have a bolt circle I always associate two expressions so that I only have to change the number of holes and the spacing will adjust . . . if p29=10 and p30=36 (p29 is the number of holes, and p30 is the angular spacing between the holes) I then set p30=360/p29.

You can do something similar with your linear spacing ... set the spacing between the holes as a factor of the length and number of holes.

 

RE: Attribute question NX6

(OP)
Well I have been trying to use the expressions to get this.  But if I do not have the perfect number, they are not equally spaced.  I want to be able to have them always equally spaced between each other (in the Y vector).

I thought perhaps if someone had a few minutes they could do this and attach an example file so I could see where my mistakes are.  I have spent a fair amount of time on this with a colleague.  I think we are close, just something isn't tracking.

Justin
Designer

RE: Attribute question NX6

Basic math.
spaces = #_holes -1
spacing = distance_between_hole1_and HoleN/spaces

Just write the instance array spacing expression as a formula.

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

RE: Attribute question NX6

What do you mean by a 'perfect number'?

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Attribute question NX6

A positive integer that is the sum of its proper positive divisors?

Best Regards

Hudson

www.jamb.com.au

Nil Desperandum illegitimi non carborundum

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources