×
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

Problem with properties attb(text) controled by an expression that is controled by a part family

Problem with properties attb(text) controled by an expression that is controled by a part family

Problem with properties attb(text) controled by an expression that is controled by a part family

(OP)
Hey Guys, Using NX7.5.0.32
I have searched and search this forum to try and find some answers.... so far i found out how to make a part family and save it, but i have a problem getting a text string to update in my properties attributes for a parts list later down the road.

here is what i have

stock_1=1/2-UNCx3.25_SHCS
stock =ug_setPartAttrValue( "Stock", stringValue(Stock_1) )

when I go creat part from the add ins menu it makes the part just fine, but when i open that part up that it just created and check the properties the ATTR Stock is left Blank, but when i go to the Expressions dialog it says the correct information but the Value colum shows ERROR, i have attached a picture, please any help would be great..... when i searched and searched, that doesn't mean that its not there it just means that I couldn't find it or its not there...

Thanks in advaced, there is so much info here it is almost overwhelming

Josh...

RE: Problem with properties attb(text) controled by an expression that is controled by a part family

Since the way Attributes and Expressions exchange data has been completely reworked in NX 8.0 I would not attempt anything like this until you've upgraded for three reasons; first we've removed that old KF routines from the list of Expression functions, and while old files which use them will continue to work (as good and/or as BAD as they always did) this scheme will no longer be officially supported. Second, the changes made in NX 8.0 were done to not only make it easier to accomplish something like this, but also to make it behave properly when used in conjunction with other functionality inside of NX. For example, the old pre-NX 8.0 scheme never did a good job of updating properly when changes were made, which I suspect is the real culprit in your situation. And third, but not least, we are NOT going to entertain ANY PR's with respect to the pre-NX 8.0 schemes. Since they are no longer going to be officially supported starting with NX 8.0, except in legacy parts, any PR's against them will be given a very low priority since they've been all but made obsolete.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

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

RE: Problem with properties attb(text) controled by an expression that is controled by a part family

(OP)
Thank you for your quick responce, I had to go and ask our IT guy why we are not updated to a newer rev yet, and he informed me that we have to remain on the same level as our parent company, reason being no. one its a corperate license deal I guess, and second, when we exchanged prt files, we can work on and view them in both directions....

Thank you John for the very informitive reply, now I can't wait till we rev up, at least to the next rev....

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