Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX Journal lock

Status
Not open for further replies.

jurajkomacka

Automotive
May 10, 2017
2
Hallo everybody,
i am looking for how to lock journal file (Visual Basic, .vb) for reading. Is it possible? Can you help me, please?

Thanks for any answers
 
Replies continue below

Recommended for you

Hello Jurajkomacka,

If the goal is to provide an NX journal without allowing the source (.vb) file to be read, the following command builds a dll binary file which is launched by "File-> Execute-> NXopen".

Creating Class Library

Code:
vbc /libpath:%UGII_ROOT_DIR%\managed /t:library /r:NXOpen.dll /r:NXOpen.Utilities.dll /r:NXOpen.UF.dll <application>.vb

see [URL unfurl="true"]https://docs.plm.automation.siemens.com/tdoc/nx/10/nx_api/#uid:compiling_net[/url]

' hope this helps,
Joe
 
Note that if you want to compile to a .dll, you will need a .net author license and you will need to sign the .dll so that everyone can use it.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor