Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
PHPaul Hossfield15/05/2007
Hi All,
When using the mothod:
RetVal = Part.Save3(swSaveAsOptions_SaveReferenced, nErrors, nWarnings)
I get the Confirm Drawing View Update warning. Is there a way to temporarily suppess the warning and just do it, then restore warnings to the application again?
It is easy enough to an Excel sheet invoked during an SW API session:
Dim obEx2 As Object
Set obEx2 = CreateObject("Excel.Sheet")
...
...
obEx2.Application.displayalerts = False
...
...
obEx2.Application.displayalerts = True
I tried
Part..Application.displayalerts = False
but nothing doing
Thanx,
-plh
When using the mothod:
RetVal = Part.Save3(swSaveAsOptions_SaveReferenced, nErrors, nWarnings)
I get the Confirm Drawing View Update warning. Is there a way to temporarily suppess the warning and just do it, then restore warnings to the application again?
It is easy enough to an Excel sheet invoked during an SW API session:
Dim obEx2 As Object
Set obEx2 = CreateObject("Excel.Sheet")
...
...
obEx2.Application.displayalerts = False
...
...
obEx2.Application.displayalerts = True
I tried
Part..Application.displayalerts = False
but nothing doing
Thanx,
-plh