Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prompting "Save" for Read Only Docs

Status
Not open for further replies.

BodyBagger

Mechanical
Feb 23, 2007
459
I did a search on the forum but no luck.

Is there a setting somewhere so that I can change so SW does not prompt me to save changes on documents that are open as "Read Only"?

Thanks BB
SW2009 SP4.1
PDM Enterprise 2009 (worst PDM system on the planet)
 
Replies continue below

Recommended for you

Do you get the prompt when closing the doc's, or is it the timed reminder pop-up in the bottom RH corner?
 
I think you are looking for Tools\Options\System Options\Exteral References\"Do not prompt to save read-only referenced documents (discard changes)"

Regards,

Scott Baugh, CSWP [pc2]
"If it's not broke, Don't fix it!"
faq731-376
 
sytem options, external references, dont prompt to save read only...

¿)
Version of SolidWorks: 2009
SolidWorks Sercive Pack:sp3
Operating System & Service Pack: winxp pro v5.1 (sp2)
Graphics Card and Driver version: Nvidia Quadro fx540, 9.1.3.6
Amount of installed RAM: 3GB
Virtual Memory settings: APPS, total paging = 1024mb
CPU Type & Speed: intel pent 4 / cpu 3.00GHz


 
I wrote a macro to do this.

Code:
'copyright 2007 EsoxRepublic.com
Dim swApp As SldWorks.SldWorks
Dim aModel As SldWorks.ModelDoc2
Dim aErrors As Long
Dim aWarnings As Long
Dim aOpts As Long

Sub main()

Set swApp = Application.SldWorks
Set aModel = swApp.ActiveDoc

If Not aModel Is Nothing Then
    aOpts = swSaveAsOptions_Silent + swSaveAsOptions_SaveReferenced
    aModel.Save3 aOpts, aErrors, aWarnings
End If

Set aModel = Nothing
Set swApp = Nothing

End Sub

[bat]Honesty may be the best policy, but insanity is a better defense.[bat]
-SolidWorks API VB programming help
 
Hi all,
I already have the Tools\Options\System Options\Exteral References\"Do not prompt to save read-only referenced documents (discard changes)" done. I think my issue may be coming from PDM Works Enterprise.

BB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor