Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

API - User Preferences

Status
Not open for further replies.

rocheey

Industrial
Jan 21, 2001
230
I'm looking for someone who is able to translate the help files on this one, into English <grin>

Have several calls which read/set/reset various preferences, but Im hoping there is a preference, either SW, User, or ModelDoc, which will allow me to temporarily disable the dialog which asks me whether I want to save a ModelDoc, when all instances of it end up being suppressed in my assembly.

Anyone?
 
Replies continue below

Recommended for you

One idea...

Go through the following steps to suppress the component:
1.) Have SW open the component document
2.) Go back to assembly and suppress the component
3.) Go to open component and close using SldWorks.QuitDoc

Having the component open will prevent the &quot;Do you wanna save&quot; message from appearing when you suppress the component, because the suppression is not closing the file. QuitDoc closes the component file without any messages.

[bat]There's no double-lock defense; there's no chain on my door.
And I'm available for consultation,
but remember your way in is also my way out
[bat]
 
Great idea. Whenever possible. I try to do things 'by the book' <g>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor