NX Journal Check if there is a folder locally

2019/12/07 categories:NX Journal| tags:NX Journal|VB|

I created a program that determines if there is a folder locally and creates a folder if it does not exist.

VB Code

Imports System
Imports NXOpen

Module NXJournal
    Sub Main (ByVal args() As String) 

        If !System.IO.Directory.Exists("D:\TestDirectory") Then
            System.IO.Directory.CreateDirectory("D:\testDirectory")
        End if

    End Sub

End Module

Share post

Related Posts

コメント