Skip to content

Instantly share code, notes, and snippets.

Option Strict Off
Imports NXOpen
Imports NXOpen.UF
Module Module1
Sub Main()
Dim theSession As Session = Session.GetSession()
Dim workPart As Part = theSession.Parts.Work
Dim theUf As UFSession = UFSession.GetUFSession()
Option Strict Off
Imports NXOpen
Imports NXOpen.UF
Module Module1
Sub Main()
Dim theSession As Session = Session.GetSession()
Dim workPart As Part = theSession.Parts.Work
Dim theUfSession As UFSession = UFSession.GetUFSession()
@rfound
rfound / V4
Created September 11, 2025 14:34
Option Strict Off
Option Explicit On
Imports NXOpen
Imports System.Text
Imports System.Reflection
Imports System.Collections.Generic
Module SelectSize_Diagnostic
Option Strict Off
Option Explicit On
Imports NXOpen
Imports System.Text
Imports System.Reflection
Module SelectSize_Diagnostic
Sub Main()
' NX Open Journal
' Select an object (line, edge, face, or body) and select all others with the same size.
Imports NXOpen
Imports NXOpen.UF
Module SelectSameSize
Sub Main()
' NX Open Journal
' Select an object (line, edge, face, or body) and select all others with the same size.
Imports NXOpen
Imports NXOpen.UF
Module SelectSameSize
Sub Main()