×
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

ug_askCurrentWorkPart() in NX7.5

ug_askCurrentWorkPart() in NX7.5

ug_askCurrentWorkPart() in NX7.5

(OP)
Again me with expressions...

ug_askCurrentWorkPart() function is not update automatically when name of part is changed (on save as or clone part, then part open with new name)... is this bug and how to make it update every time part is opened?

RE: ug_askCurrentWorkPart() in NX7.5

Have you tried performing an...

Tools -> Update -> Update for External Change

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: ug_askCurrentWorkPart() in NX7.5

(OP)
Yes John, I tried that and it works.

What I am asking for is auto update on clone or save as command, something that work like ug_setPartAttrValue(), when i clone part that have ug_setPartAttrValue() it update attribute when part is cloned, without need for my manual update.

RE: ug_askCurrentWorkPart() in NX7.5

Hi Ivan,
Are you using Knowledge fusion by any chance? If yes then probably you can use DEMANDVALUE() for the value to get changed automatically.
Best Regards
Kapil Sharma

RE: ug_askCurrentWorkPart() in NX7.5

Probably not...but i guess (i may be wrong though) from NX8 onwards this function cannot be accessed through expressions.I just looked out for it and couldn't find it in expressions function list.Although i normally use KF to access these functions and then use demandvalue to control the update but let me see if i am wrong in saying that it is not a part of expression functions in NX8 or NX8.5.
Best Regards
Kapil Sharma

RE: ug_askCurrentWorkPart() in NX7.5

(OP)
I am not using KF for this, just native NX

you can't find this function with search tool in expressions... i do not know why...

You can try it in any NX just as it is. I use it:
expression
type: string
name: part_name
formula: ug_askCurrentWorkPart()
expression value should be name of the part.

i can confirm that it works in NX 8 and NX 8.5, (i have them but customer is using NX 7.5 so i have to work in it).
hmmm.... i heaven't tried if it will update automatically in NX 8 or NX 8.5 ... just know that function works in them.

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