Forums:
Hello,
i'm trying to write a tool in VB.NET which only converts a specific reference set into a step file (and either with visible or with hidden parts).
Now i am looking for a way without using the NX Journal Playback. I have a .net author license but i dont know how to set up the code for a batch-programm.
I don't want to use an interactive NX session, just start a tool from console and let the step translator do his job (unfortunately, i have to select some parts with the API)
I think my problem is the "Session"-Part:
theSession = Session.GetSession() workPart = theSession.Parts.Work displayPart = theSession.Parts.Display
Whats the correct way to initialize them when using batch? Is there a "full sample"? I couldn't find any tutorials for this... (Remoting is the wrong thing i guess?)
Thanks in Advance!
Best Regards,
Ery