×
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

SNAP (Simple NX Apllication Programing) Measuring all the sizes

SNAP (Simple NX Apllication Programing) Measuring all the sizes

SNAP (Simple NX Apllication Programing) Measuring all the sizes

(OP)
I have a multipart assembly that consists of all different sizes of rectancular tubes. My goal is to make a program using SNAP. This program would collect all the rectangular tubes of a specific part number 2063124 in the assembly and add up all the sizes. My attribute for this tube is CROSS for the Length . Once the sizes are ALL added up I need to have that number divided by the purchased stock length which is 24 ft. I do need that number equated rounded up.

The next step would be allowing this program to add whats above to the Expressions Menue as Name: Rectangular_Tubes_to_Be_Purchased, and lets say for now the Formula would be 10 because the end result of the total number of feet in the assembly is 235 for that specific rectangular tube part number 2063124 in the assembly.

I am new to this programing idea of SNAP and hopefully Someone can help me with the bits and pieces of this program to put together to make this happen. This would be a Big Time Saver.

Thanks For Reading.

RE: SNAP (Simple NX Apllication Programing) Measuring all the sizes

I assume you've already worked through the tutorialin the SNAP manual. If not, do that first.

You have to cycle through the components in your assembly, looking at the part numbers. There is a chapter in the "Getting Started with SNAP" guide that explains assembly concepts and shows several examples of programs that cycle through assembles doing various things.

For reading attributes, there's nothing much in the "Getting Started with SNAP" guide, but there are numerous examples in the SNAP Reference guide (the CHM thing). Look at the GetXxxAttribute functions in the Snap.NX.NXObject class.

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