Get the Order Number of Parameters in Dynamic Blocks

Get the Order Number of Parameters in Dynamic Blocks

Julio_Soto
Advisor Advisor
444 Views
3 Replies
Message 1 of 4

Get the Order Number of Parameters in Dynamic Blocks

Julio_Soto
Advisor
Advisor

I found a LISP here to rearrange the display order of parameters in dynamic blocks. Most importantly this can also re-order Lookup Parameters. The problem comes if someone used the Parameters Manager tool palette to re-order the parameters. If you used the tool palette then the LISP cannot reorder them with the LISP. They will follow whatever Order is shown in the palette.

 

Is it possible to get this "Order" value and reset it to nil?

 

Julio_Soto_0-1682713845847.png

 

0 Likes
445 Views
3 Replies
Replies (3)
Message 2 of 4

Sea-Haven
Mentor
Mentor

Just a question why worry about order, if you have made the block you know order. The same is with normal block attributes you can edit a value by order rather than using a tag name a method I have used but hardly ever used, is it worth the effort. For the odd occasion get a pencil/paper write down parameter name in order and code.

0 Likes
Message 3 of 4

Julio_Soto
Advisor
Advisor

if it was my own block I wouldn't care as much. this block will be part of the company standard. And having parameters out of order does not look professional.

0 Likes
Message 4 of 4

Sea-Haven
Mentor
Mentor

Understand now nothing to do with coding to change parameters. Yes have done to block attributes so they follow a sequence of enter data rather than jumping all over the place as creator has not taken time to look at what they created v's user input. 

0 Likes