jmarkus
Mechanical
- Jul 11, 2001
- 377
I have an NX Journal which I wanted to include in an NX Open application I am working on. The journal starts with:
When I add the declarations from Main into my NXOpen file which is then compiled and run, it doesn't like the line:
Is it possible the displayed part isn't accessible this way from a compiled (.dll) NXOpen file?
Thanks,
Jeff
Code:
Option Strict Off
Imports System
Imports NXOpen
Imports NXOpenUI
Imports NXOpen.UF
Imports NXOpen.Annotations
Imports NXOpen.Utilities
Module NXJournal
Sub Main()
Dim thesession As Session = Session.GetSession
Dim ufsession As UFSession = UFSession.GetUFSession()
Dim dp As Part = thesession.Parts.Display
Dim nc As NoteCollection = dp.Notes
When I add the declarations from Main into my NXOpen file which is then compiled and run, it doesn't like the line:
Code:
Dim dp As Part = thesession.Parts.Display
Is it possible the displayed part isn't accessible this way from a compiled (.dll) NXOpen file?
Thanks,
Jeff