The code line below I am using to load components of an assembly not already loaded based on user input. It is not working 100% of the time and I have been unable to figure it out.
My question is, can I view the value of "openStatus1" in a listing window? I am hoping this will shed some light on why it fails.
partLoadStatus1 = workPart.ComponentAssembly.OpenComponents(Assemblies.ComponentAssembly.OpenOption.WholeAssembly, componentsToOpen1, openStatus1)
Used to display file name: lw.WriteLine(componentsToOpen1(0).DisplayName.ToString)
Thanks,
Kevin
NX8.0
VB.Net
My question is, can I view the value of "openStatus1" in a listing window? I am hoping this will shed some light on why it fails.
partLoadStatus1 = workPart.ComponentAssembly.OpenComponents(Assemblies.ComponentAssembly.OpenOption.WholeAssembly, componentsToOpen1, openStatus1)
Used to display file name: lw.WriteLine(componentsToOpen1(0).DisplayName.ToString)
Thanks,
Kevin
NX8.0
VB.Net