Automatic Import of .exp file
Automatic Import of .exp file
(OP)
I am looking for a way to have my part file automatically import a new .exp file when the part opens.
I am using NX6 to make pump parts. The pump dimensions change slightly between designs, so I have created one generic assembly with generic parts. I get the new pump dimensions from calculations done in Excel or Mathcad, so I have written code in Excel that will take these new values and write an .exp file for NX. My program also opens up the generic part/assy automatically, but I have not found a way to automatically open this new .exp file from within NX. For now, I have a command button that runs my Journal file when it is clicked, but I was hoping to find a way for it to import automatically when the generic part/assembly file was opened.
Thanks for any help!
I am using NX6 to make pump parts. The pump dimensions change slightly between designs, so I have created one generic assembly with generic parts. I get the new pump dimensions from calculations done in Excel or Mathcad, so I have written code in Excel that will take these new values and write an .exp file for NX. My program also opens up the generic part/assy automatically, but I have not found a way to automatically open this new .exp file from within NX. For now, I have a command button that runs my Journal file when it is clicked, but I was hoping to find a way for it to import automatically when the generic part/assembly file was opened.
Thanks for any help!





RE: Automatic Import of .exp file
DL
RE: Automatic Import of .exp file
RE: Automatic Import of .exp file
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: Automatic Import of .exp file
RE: Automatic Import of .exp file
If you go this route, beware that the code will run whenever any part is opened. You will need to add some sort of check to import the exp file only when a certain file(s) are opened.
Search for 'user exit' in the help files for more info.