I'm trying to write VB code to import the CAD model, however it stays on the import CAD status dialog and require user pressing the "OK", how can eliminate the manual input?
Thanks
Terry
pcdPart = pcdApp.PartPrograms.Open("C:\temp\part.prg", "Offline")
pcdPart.Import("c:\temp\model.stp") ' Stay here and need user pressing "OK" button
I have a similar problem. My code:
Sub main Dim App As Object Dim Part As Object Dim bolPassFail As Boolean Set App = CreateObject ("PCDLRN.Application") Set Part = App.ActivePartProgram bolPassFail = Part.Import("d:\model.igs") End Sub
I have a similar problem. My code:
Sub main Dim App As Object Dim Part As Object Dim bolPassFail As Boolean Set App = CreateObject ("PCDLRN.Application") Set Part = App.ActivePartProgram bolPassFail = Part.Import("d:\model.igs") End Sub