API - User Preferences
API - User Preferences
(OP)
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?
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?






RE: API - User Preferences
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 "Do you wanna save" message from appearing when you suppress the component, because the suppression is not closing the file. QuitDoc closes the component file without any messages.
And I'm available for consultation,
but remember your way in is also my way out
RE: API - User Preferences