×
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

Assigning Attrubuites using grip

Assigning Attrubuites using grip

Assigning Attrubuites using grip

(OP)
Good Monday Morning,
 I am new to the Grip world but been a UG user for 15 years.
I am working for a company in PA who has seen the light and has decided to listen to me and in doing so drop the ball in my lap to make it happen. It is put up or shut up.

I made a pax files with all of defaults set up on formats with Attributes set up to generic values but some of the Ol' Guard are still Bulking at the idea of entering the info by hane they want to use a grip programm to hold their hand and walk them thru i But heres the catch i am Grip illetate our one programmer on site has been reassigned and can not give me more help then what is in the Help on-line documents.
so here it is :

I need to find an att. display its name and psudo value and wait for user input once entered the grip would reset to the entered value.

Titles are:    Values are:     Types are
Title_1        Nut, Flanged     String
Title_2        Hex              String
Drawn_by       SRK              String
Checker        FDG              String

just a small sample there are actually 37 possible variables to be entered base on a couple user inputs but i will worry about those next time right now I need to get the string vales filled in.

Any help would be great.


Steven King
Senior Designer
BAE Systems
York PA

RE: Assigning Attrubuites using grip

Steven,

I'm not sure I'm following you... not sure what your looking for.  Can you explain further?  Are you wanting to read existing attributes in the file and display them?  Assign attributes to a file based on user input? Add attributes to a file based on component structure?  Read and display existing attributes AND allow a user to change  one/more those attribute?

Regards,
SS
CAD should pay for itself, shouldn't it?

RE: Assigning Attrubuites using grip

It seems that he needs to assign attributes to a file based upon user input.

Believe it if you need it or leave it if you dare. - Robert Hunter

RE: Assigning Attrubuites using grip

Attached is a GRIP program that creates Part Attributes of typical Drawing information.  This program first checks to see if the relevant attributes already exist and if so, reads them and displays them so the user can either accept them or overwrite them.  Note that this program also extracts the current user's name and the current date from the system and formats them into a usable format.  These are also presented to the user so that he can override them as well.  And lastly, the programs writes all the new/updated attributes back to the file as Part Attributes as well as writing the file description to the File Header.

I hope this helps get you started in the right direction.

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

RE: Assigning Attrubuites using grip

(OP)
Shadowspawn,
 I want the grip to be an interface between the users and the Attributes I know it is easier for them to just edit the Att under properies but the Lod timers here have greater pull with manament then I do so they win.

So if I want drawing templets and Attributes as well as add a sheet pax files to work here I have to get an interface IE Grip to handle it so it looks and feels the way their old interface worked.

so in my templet I have filled in the format with junk info that the user needs to correct with in the Attributes  the end- user want it to work like the old grip tool that placed text thru a screen position . I need it now to to just change the Atts. to a new value based on the user input.  I was going to just write a macro and ask for user inputs but though assigning new values to exsisting Atts. would be a smater way of doing it.

RE: Assigning Attrubuites using grip

Ok.... I think I understand now.  I have a grip that I wrote that adds a 'decal' to the face of a drawing, in which the user inputs his desired text into a dialoge box which assigns attributes to the part and fills in the appropriate space on the drawing (the decal is nothing more than a seperate part file thats imported as a 'group' and used as a 'sticker' for the face of the drawing as it goes through it's release cycle/process.  At release, it's easily removed via an automated scraper that deletes the decal via a 'group name'...)  I'd be happy to pass the source code along if you like... just let me know if one of the other snippets don't fit your needs or if you want another example thingy to work from.

Regards,
SS
CAD should pay for itself, shouldn't it?

RE: Assigning Attrubuites using grip

Steve,

John's program should give you menus that will display the current value and allow your engineers to overwrite the value with new data.

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

Ben Loosli

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