acces to nx from other application - how?
acces to nx from other application - how?
(OP)
can I acces to NX from Excel for example
...
Set UGNX = GetObject(, "NX.Application")
...
how to declare NX.application
should I write some info to registry about NX...?
what to do?
...
Set UGNX = GetObject(, "NX.Application")
...
how to declare NX.application
should I write some info to registry about NX...?
what to do?





RE: acces to nx from other application - how?
In testing my system preferred that I start NX first.
The application I saw this used for was created as part expert system cum PLM tool for a company that I once worked for a few years back. Because they had a system that assigned a project number per product and derived sub part numbers and tooling item numbers by sequential increments based on the root number their system simply parsed that to a known file and directory path which information furnished a hyperlink. It was simple but effective.
Hope this helps
Regards
Hudson
RE: acces to nx from other application - how?
Depends what you are trying to do. I normally would try and create a csv file from Ug then import that in. You can spawn a UG session using a run_journal.exe command but you need to write a Ug journal file to do what you need to do in UG. This could be launched in a script file or in a macro in excel.
The run journal executable is in nxroot/ugii/run_journal.exe
Hope that helps.
Mark Benson
Aerodynamic Model Designer