Update:
I've compiled code that works for the top assembly and the 1st level parts.
Is there anyway to modify this to work on subassemblies as well?
Option Strict Off
Imports System
Imports NXOpen
Imports NXOpen.UF
Imports NXOpen.Assemblies
Imports System.IO
Imports NXOpenUI
Imports...
That does help. I can open each component manually and run the code to do the view orient, but is there a way to search for children (components) and open each 1 x 1 and orient the views and save?
I've tried some variations with the lw Open command with no luck.
I am new to NX 7.5 and I am writing a Journal to simply fit the part within the view and then set the view to isometric, and save. My only difficulty is applying this to a large assembly that has 100+ Components and sub Assemblies. Currently I have the view orient code below. How do I apply this...