Jump to content

How to Know if a current drawing requires save.


Recommended Posts

Posted

Hi All,

 

Please Help.

With SDI set to 1, Filedia set to 0 and Lispinit set to 0.

I am trying to make a routine which open some drawings and add blocks inside them. I have noticed that the current drawing in which my routine uploaded and started functioning needs to be saved sometime. Is there a way to notify that a current drawing require save? because whenever i run the routine with the following code sometimes it ask "Do You Really Want to Discard Changes ?" and sometimes not if its a fresh or already saved drawing. I want to get rid off that question.

 

(vl-cmdf "_.Open" (strcat Directory "\\" (nth cntr DrawingList)))
(vl-cmdf "_.Qsave")

 

Any Help would be appreciated.

Thanks and Regards

Aaryan

Posted

You can look into DBMOD setting ( DataBaseMODified ) -David

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...