×
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

Journal/GRIP/macro to input part attribute to entire folder of parts???

Journal/GRIP/macro to input part attribute to entire folder of parts???

Journal/GRIP/macro to input part attribute to entire folder of parts???

(OP)
Anybody know a way to run a program that would automatically input an attribute into each part in a selected folder?

We have a bunch of legacy files of purchased clamps and other components that is shared, and every time we use them we have to input the attribute in for the BOM. We can slowly keep adding them as we open/use the components but was wondering if there was a way to do this quickly all at one shot?

RE: Journal/GRIP/macro to input part attribute to entire folder of parts???

(OP)
Wow thanks for the quick response, it looks like it is exactly what I'm asking about. I'll give it a try.

RE: Journal/GRIP/macro to input part attribute to entire folder of parts???

(OP)
Is there a slight modification to that text to save the file when it closes it?
Seemingly it works, I can run it, and set an attribute and then make a dim call it back and write it into a window, but then when I open the part it is no longer in the part file properties. I'm assuming it is closing the part without saving since the original journal was only pulling information out?

RE: Journal/GRIP/macro to input part attribute to entire folder of parts???

Not to hijack, but i was looking for something like this for awhile. I saw it on NXjournaling some time ago, but wasn't able to modify it to do anything.
I cannot code.

Can this journal be merged or altered to incorporate something like this one?
http://www.eng-tips.com/viewthread.cfm?qid=397804
I've tried to edit this one as well to my own needs, but it just fails. The 4 attributes would work great for my needs, Weight is not required. I just want to rename them

RE: Journal/GRIP/macro to input part attribute to entire folder of parts???

(OP)
I found a way to save the part file, now I just need to understand how to assign a material from a material list other than the standard NX. I've made a site list but don't know how to reference it. I've found some code that sets the material, but it only uses the stock NX list, and I'm too dumb to know how to change it.

robnewcomb, I can't help you there, I'm a hack programmer, I know enough only to find code, sometimes merge them together (if its simple) and do easy modifications.....

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