Nx Journal Hello World

2019/11/27 categories:NX Journal| tags:NX Journal|VB|Python|

CAD software NX has a function called NX Journal, which is an automation tool like an Excel macro. With this feature, you can combine multiple commands into one or execute commands in multiple files, which can automate the work to some extent.

First of all, in order to check if NX Journal can be executed, I created a program that displays text.

Python Code

import NXOpen
def main() : 
    MsgBox("hello world")
        
if __name__ == '__main__':
    main()

VB Code

Option Strict Off
Imports System
Imports NXOpen

Module Module1

    Sub Main()

        MsgBox("hello world")

    End Sub

End Module

Share post

Related Posts

コメント