stytgat
Automotive
- Mar 29, 2010
- 15
Hello,
I am novice in VB and I search to understand why my programm generate an error when i want to close a NX part.
See below a small programm test and the message information about the error.
My small prg test :
Try
Dim MYPart As Part = theSession.Parts.NewDisplay("G:\Temp\Test.prt", Part.Units.Millimeters)
MYPart.Close(BasePart.CloseWholeTree.True, BasePart.CloseModified.CloseModified, Nothing)
Catch ex As Exception
Dim MyWindows As NXOpen.ListingWindow = theSession.ListingWindow
MyWindows.Open()
MyWindows.WriteLine(ex.ToString)
End Try
The error information :
Close part System.NotImplementedException: The method or operation is not implemented.
at Repertoire_STD.Module1.Main() in C:\1_DELPHI\Programmation\VB\Repertoires\Repertoire_STD\Module1.vb:line 425
thanks for your help and best regards,
S. TYTGAT
I am novice in VB and I search to understand why my programm generate an error when i want to close a NX part.
See below a small programm test and the message information about the error.
My small prg test :
Try
Dim MYPart As Part = theSession.Parts.NewDisplay("G:\Temp\Test.prt", Part.Units.Millimeters)
MYPart.Close(BasePart.CloseWholeTree.True, BasePart.CloseModified.CloseModified, Nothing)
Catch ex As Exception
Dim MyWindows As NXOpen.ListingWindow = theSession.ListingWindow
MyWindows.Open()
MyWindows.WriteLine(ex.ToString)
End Try
The error information :
Close part System.NotImplementedException: The method or operation is not implemented.
at Repertoire_STD.Module1.Main() in C:\1_DELPHI\Programmation\VB\Repertoires\Repertoire_STD\Module1.vb:line 425
thanks for your help and best regards,
S. TYTGAT