Running own NX programme in "background"?

To all

If one has written a program to automate a task, is there a way of running this program in the background so that one can continue working in NX? Imagine that a programme has to loop through all the FEElements in a model, extract some result, do something with the result. Such loop can be very long (hrs in some cases) and thus stop the user using his/her NX session.

Has anyone ever looked at this issue?

Thanks
Regards
JXB

If you have an author license, you can compile your code to an .exe file which can run in "batch" mode. This means that NX will run in the background without displaying the GUI and without user intervention. To take advantage of batch mode, your code must be written so that there is no user interaction required.

If you do not have an author license, you can use the "run_journal" utility to similarly run a journal in the background.

All of the locations that I've used NX allow you to run multiple NX sessions simultaneously, so you should be able to open another interactive NX session and get on with your work.

Thanks for the input. No author licence available. All the small piece of code I have written (or trying to write) are saved as .vb file and and "executed" from an added button

I have used multiple NX sessions but my original question/thinking is related to the programme I am trying to develop which create RMS stress for a given list of group (containing elements ) and a given list of response simulation events (random or transient). Doing such steps in a loop means that one cannot use the NX files. So one needs to make a copy of the files one needs to do other work while the "live" files are being used. One is rather restricted as to one can do as these files are copies!

Thanks
Regards

[Case1]
As-Is :
Part Attribute (Name : Mass/ Type : String / Value : 123)
To-Be :
Part Attribute (Name : Mass/ Type : Number / Unit : KG / Value : 123.0)

[Case2]
As-Is :
Part Attribute (Name : Date/ Type : String / Value : 05-Oct-2015)
To-Be :
Part Attribute (Name : Mass/ Type : Date / Value : 05-Oct-2015)

How to change Attribute Type?

I'am sorry for shorty description.
My English ability is Not a Good. -.-;

Dragon-Tiger

The only way to change an attribute type that I currently know of is to create a new attribute of the desired type and delete the old one. This can get tricky if the current attribute is referenced by other objects.

You can find some example code of the above procedure at:
http://nxjournaling.com/content/attribute-type-check-integerstring