Update for external change still remain in NX9 for many expression !!!
Update for external change still remain in NX9 for many expression !!!
(OP)
Hi,
In this previous thread thread561-361737: A Note in NX7.5 with a substring of <W@$SH_PART_NAME> without "_dwg1" I found the solution to get a substring of the part name.
But we need to run "update for external change" to update the expression. Why Siemens is not able to give us a full associativity ?
Regards
Didier Psaltopoulos
http://www.psi-cad.com





RE: Update for external change still remain in NX9 for many expression !!!
That being said, we have been identifying whether some of these KF routines can be replaced with normal NX functions which would participate in the NX update mechanism as you'd expect them to. For many years we have used, and still do, KF (Knowledge Fusion) to add additional functions to NX which don't always fit into already existing NX functions, and of course users, with the right license and experience, can use KF to create their own special functions which can link data with NX objects or functions, but they again behave like all other KF functions, which is both good and bad, good because once implemented they are indistinguishable from KF routines provided by Siemens PLM, bad because they will have the same limitations and behavior. Now over the years KF has been used to link other NX functions to data that wasn't really external to the Part file, such as Attributes and Expressions for example and these are one of the types of KF routines which have already been replaced with now fully imbedded NX functions. In NX 8.0 we introduced new built-in functions linking Expressions to Attributes and vise versa. Prior to NX 8.0 you had to use KF routines for that and you would also have to use the 'Update for external change' tool to update any of these links between Expressions and Attributes. Starting with NX 8.0, that's no longer necessary, changing an attribute where an expression is set equal to the value of the attribute will now cause the expression to update as if it were edited like any other expression. The same is true for Attributes which have been set to be equal to the value of an Expression.
Anyway, the point I'm trying to make is that we are looking at cases where there is non-exteranl data being linked using KF and we're working on moving those to fully participating NX functions, but it takes time and we need to prioritize the list of potential candidates for updating, so if you think the 'ug_askcurrentworkpart()' function is one that should be considered for being replaced within NX, please contact GTAC and have them open an ER to that effect.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Update for external change still remain in NX9 for many expression !!!
Regards
Didier Psaltopoulos
http://www.psi-cad.com