Author Topic: ZombieKiller by gile in lisp  (Read 1116 times)

0 Members and 1 Guest are viewing this topic.

ziele_o2k

  • Newt
  • Posts: 47
ZombieKiller by gile in lisp
« on: June 19, 2017, 04:47:40 PM »
I wrote some lisp function to purge drawings. My function is based on Script Writer by Lee Mac and RadicalPurge with LISP function: gc-Purge. I would like also to use ZombieKiller, but I don't know if this is possible.

Can anyone help me ?
I tried with:
Code: [Select]
(command "KILLZOMBIES")but I have to confirm killing zombies in every drawing opened with Script Writer and I would like to avoid that.
« Last Edit: June 19, 2017, 06:49:17 PM by ziele_o2k »

gile

  • Water Moccasin
  • Posts: 2234
  • Marseille, France
Re: ZombieKiller by gile in lisp
« Reply #1 on: June 20, 2017, 01:53:50 PM »
Hi,

The KILLZOMBIES command is not scriptable. I prefered to impose a dialog box so that the user can see clearly and can choose the objects that it will delete.
Blankly deleting all proxy objects from a drawing did not seem to me to be desirable because it could have unpredictable consequences due to the behavior of possibly unknown custom objects.
Speaking English as a French Frog

ziele_o2k

  • Newt
  • Posts: 47
Re: ZombieKiller by gile in lisp
« Reply #2 on: June 21, 2017, 01:31:05 AM »
In my work I get a lot of drawings with proxy objects and always I'm deleting them all, there was never any problem with that.
Thank you for answer anyway !

Crank

  • Swamp Rat
  • Posts: 1443
Re: ZombieKiller by gile in lisp
« Reply #3 on: June 22, 2017, 04:46:21 PM »
Perhaps this is what you want.

 Vault Professional 2018     /      Building Design Suite Ultimate 2017     /     AEC Collection 2018 + 2019 +2020

ziele_o2k

  • Newt
  • Posts: 47
Re: ZombieKiller by gile in lisp
« Reply #4 on: June 23, 2017, 04:45:04 AM »
Perhaps this is what you want.
What is this and wher is this from ?

Crank

  • Swamp Rat
  • Posts: 1443
Re: ZombieKiller by gile in lisp
« Reply #5 on: June 23, 2017, 12:12:49 PM »
It's from Alexander Rivilis who has written some great tools.

Here is a translation (by Google) of the readme file attached to the archive:
Quote
================================================== ==========================
This license permits, free of charge, to persons who have received a copy of the
software and associated documentation files (the
"Software"), to use the Software
Software without restriction, including the unlimited right
to use, copy, modify, merge, publish,
distribute, sublicense, and / or sell copies of the
Security, and to permit persons to whom the
Software is subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THIS SOFTWARE IS PROVIDED <AS IS> WITHOUT ANY KIND
WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM FOR DAMAGE
DAMAGES OR OTHER LIABILITY IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OF THE SOFTWARE OR OTHER
DEALINGS IN THE SOFTWARE.
================================================== ==========================

Command EXPLODEALLPROXY:
Explodes all proxy-primitives (which it can explode, ie, the programmer at
their creation does not have "unexplode"i flag) all over the drawing.
Command REMOVEALLPROXY:
Removes all proxy-objects and primitives (including
those having undeletable flag).
It is convenient to perform REMOVEALLPROXY after EXPLODEALLPROXY - then it will delete everything
it was not possible to explode and remove non-graphical objects.

...

After you once load the appropriate arx-file in AutoCAD
(Using either _APPLOAD or _ARX), so that when the next sessions
AutoCAD this arx-file loaded himself.
In the version of AutoCAD 2008 and above allows the command RemoveAllProxy
remove unused scale (AcDbScale) from the list of scales.

ExplodeProxy2000.arx - for AutoCAD 2000 ... 2002
ExplodeProxy2006.arx - for AutoCAD 2004 ... 2006
ExplodeProxy2007.arx - for AutoCAD 2007 ... 2008
ExplodeProxy2009x32.arx - AutoCAD 2009 (x86 - 32-bit)
ExplodeProxy2009x64.arx - AutoCAD 2009 (x64 - x64)
ExplodeProxy2010x32.arx - for AutoCAD 2010 ... 2012 (x86 - 32-bit)
ExplodeProxy2010x64.arx - for AutoCAD 2010 ... 2012 (x64 - x64)
ExplodeProxy2013x32.arx - for AutoCAD 2013 ... 201X (x86 - 32-bit)
ExplodeProxy2013x64.arx - for AutoCAD 2013 ... 201X (x64 - x64)

================================================== ======================
PS: If you like the program I created and you will have
I desire to thank or to stimulate new writing
versions of this program or any other program, then you can
list some of the funds in the following payment systems:

Yandex-money: 41001772124024
WebMoney:
 WMZ: Z259455421266
 WMR: R344991763441
 WMU: U219754899110
 WME: E420171190217
It will be a good incentive to continue my work.
================================================== ======================
e-mail: rivilis@mail.ru
e-mail: rivilis@yandex.ru
ICQ: 47520829
Skype: rivilis
GTalk: Alexander.Rivilis @ gmail.com
MSN: rivilis@hotmail.com
tel.: +380 (50) 332-21-26
« Last Edit: June 28, 2017, 02:13:06 PM by Crank »

 Vault Professional 2018     /      Building Design Suite Ultimate 2017     /     AEC Collection 2018 + 2019 +2020