Message 1 of 9

Not applicable
05-21-2020
08:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello friends, I am creating a lisp for a project that some people will work together. I would like to know some things to improve my lisp.
1- Is there a way to prevent you from closing the DWG through LISP?
2- Can I execute a command when I click close (X) the DWG?
3- Is there any variable that is not excluded when closing the DWG? To save information from the current project and retrieve it when reopening the project? I know you can do it by creating a file (exporting data in a file) but does AUTOCAD not have a database of variables that store user information for later reading?
Thanks for the personal help! Any information is very welcome!
(I'm Brazilian and translated by GoogleTranslate, sorry if the grammar was strange)
2- Can I execute a command when I click close (X) the DWG?
3- Is there any variable that is not excluded when closing the DWG? To save information from the current project and retrieve it when reopening the project? I know you can do it by creating a file (exporting data in a file) but does AUTOCAD not have a database of variables that store user information for later reading?
Thanks for the personal help! Any information is very welcome!
(I'm Brazilian and translated by GoogleTranslate, sorry if the grammar was strange)
ORIGINAL:
Olá amigos, estou criando uma lisp para um projeto que algumas pessoas irão trabalhar em conjunto. Gostaria de saber algumas coisas pra melhorar minha lisp.
1- Tem como impedir que feche o DWG através de LISP?
2- Tem como executar comando quando clicar em fechar (X) o DWG?
3- Existe alguma variavel que não se exclui ao fechar o DWG? Para salvar informações do projeto atual e buscá-las ao reabrir o projeto? Sei que dá pra fazer criando arquivo (exportando dados em arquivo) mas o AUTOCAD não possui um banco de variáveis que guardam informação de usuário para leitura posterior?
Obrigado pela ajuda pessoal! Qualquer informação é muito bem vinda!
1- Tem como impedir que feche o DWG através de LISP?
2- Tem como executar comando quando clicar em fechar (X) o DWG?
3- Existe alguma variavel que não se exclui ao fechar o DWG? Para salvar informações do projeto atual e buscá-las ao reabrir o projeto? Sei que dá pra fazer criando arquivo (exportando dados em arquivo) mas o AUTOCAD não possui um banco de variáveis que guardam informação de usuário para leitura posterior?
Obrigado pela ajuda pessoal! Qualquer informação é muito bem vinda!
Solved! Go to Solution.