TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Lee Mac on December 10, 2009, 10:55:11 AM

Title: Changing Attribute Prompt Order using Visual LISP
Post by: Lee Mac 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

Title: Re: Changing Attribute Prompt Order using Visual LISP
Post by: T.Willey 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.
Title: Re: Changing Attribute Prompt Order using Visual LISP
Post by: Lee Mac on December 10, 2009, 11:06:43 AM
Thanks Tim, I'll experiment with that  :-)
Title: Re: Changing Attribute Prompt Order using Visual LISP
Post by: HasanCAD on January 26, 2010, 04:37:26 AM
Go to Medify Menu
see attached
Title: Re: Changing Attribute Prompt Order using Visual LISP
Post by: TimSpangler 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?