Submitted by arifp60 on Fri, 04/28/2017 - 12:01
Forums:
I was trying to develop a NX open code(which runs in batch mode) to export a model from ug part file(*.prt)) to parasolid
process goes like this
1. open part file
2. update expressions from external excel file(here part dimensions will be changed based on the values entered in external excel file which is mapped in the part file expression )
3. save part
4 export to parasolid
5. exit or close
i created a vb journal which does all of this except step 2 . im unable to find nx open/ UFUNC function equivalent to "refresh expression from external excel file
any help is highly aapreciated
re: update expression
Check out the .MakeUpToDate method; it accepts an array of feature or expressions and attempts to update them. I've not had the need for this method, but it sounds promising for your situation.
I tried the same ..and i have
I tried the same ..and i have strong feeling that this is what I'm looking for ! but Unfortunately Im unable to implement it .can anyone please provide me an example for using '.makeUptodate' method ?