Author Topic: Changing Attribute Prompt Order using Visual LISP  (Read 2484 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Changing Attribute Prompt Order using Visual LISP
« on: December 10, 2009, 10:55:11 AM »
I have had a dig around and can't find anything relating to what determines the order of prompts for attributes in a block...I realise this can be done using BATTMAN at the command line, but is there any way to change the order using VL?

Many thanks people  :-)

Lee


T.Willey

  • Needs a day job
  • Posts: 5251
Re: Changing Attribute Prompt Order using Visual LISP
« Reply #1 on: December 10, 2009, 11:03:03 AM »
I think the prompt order is based on which attribute definition comes first in the block definition, so just grab a list of all the properties, delete them, then recreate them in the order you want.  I'm not sure if just changing the block definition will change the existing inserted one or not, but I think it would, since it has to go back to the definition to get the prompt string anyways.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: Changing Attribute Prompt Order using Visual LISP
« Reply #2 on: December 10, 2009, 11:06:43 AM »
Thanks Tim, I'll experiment with that  :-)

HasanCAD

  • Swamp Rat
  • Posts: 1422
Re: Changing Attribute Prompt Order using Visual LISP
« Reply #3 on: January 26, 2010, 04:37:26 AM »
Go to Medify Menu
see attached
« Last Edit: January 26, 2010, 04:44:10 AM by asos2000 »

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
Re: Changing Attribute Prompt Order using Visual LISP
« Reply #4 on: January 26, 2010, 06:20:05 AM »
Go to Medify Menu
see attached

Quote from: Lee Mac
I realise this can be done using BATTMAN at the command line, but is there any way to change the order using VL?
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016