I'm trying to read part names from excel, open them one-by-one and do some work.
But I'm getting error:
Dim p as string
p = "@DB/" & objExcel.cells(2, 1).value & "/A"
objExcel.cells(1, 6).value = p
Dim basePart1 As NXOpen.BasePart = Nothing
Dim partLoadStatus1 As NXOpen.PartLoadStatus = Nothing
basePart1 = theSession.Parts.OpenActiveDisplay(p, NXOpen.DisplayPartOption.AllowAdditional, partLoadStatus1)
The p value is correctly returned from excel like this: @db/21310/A