Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Jan 21, 2001
Messages
230
Location
US
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?
 
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

Back
Top