Author Topic: Block Lisp Needed  (Read 3289 times)

0 Members and 1 Guest are viewing this topic.

hudster

  • Gator
  • Posts: 2848
Block Lisp Needed
« on: April 06, 2004, 04:48:16 AM »
I need a lisp which will redefine every block inserted in a drawing, without me having to do anything.

One of the engineers in my work did a drawing using the old block sets. Luckily I called all the new ones by the same names so I can redefine them to get the updated ones inserted, but there are 50 blocks in the drawing.

So if anyone has a lisp wich will do this can they post a copy here.

Cheers
Andy
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Block Lisp Needed
« Reply #1 on: April 06, 2004, 05:43:08 AM »
TheSwamp.org  (serving the CAD community since 2003)

hudster

  • Gator
  • Posts: 2848
Block Lisp Needed
« Reply #2 on: April 06, 2004, 06:20:42 AM »
Almost what I was looking for, only thing was it didn't keep the rotation or attribute information. :cry:
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Block Lisp Needed
« Reply #3 on: April 06, 2004, 06:39:28 AM »
Dang it!! I'll have to work on that.
TheSwamp.org  (serving the CAD community since 2003)

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Block Lisp Needed
« Reply #4 on: April 06, 2004, 06:48:43 AM »
It should have kept the rotation. :-/
TheSwamp.org  (serving the CAD community since 2003)

hudster

  • Gator
  • Posts: 2848
Block Lisp Needed
« Reply #5 on: April 06, 2004, 07:13:36 AM »
it kept the block rotation, but rotated all the attributes back to zero, when they were set to 270 degrees.
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue