tutorial for controlling The "Custom" parameters of a dynamic block?

tutorial for controlling The "Custom" parameters of a dynamic block?

acadadmin3KNUF
Advocate Advocate
2,158 Views
5 Replies
Message 1 of 6

tutorial for controlling The "Custom" parameters of a dynamic block?

acadadmin3KNUF
Advocate
Advocate

 

Can someone point me to a tutorial on controlling the "Custom" parameters area in the Properties tab of a dynamic block?  I have over a dozen parameters based on Lookups that I can't re-order inside the block editor...so I'm thinking maybe a custom dialog box programmed with LISP?  I've found some resources on making the dialog boxes, etc., but now I need to know how to access those Custom parameters in the dialog box.   Here's a pic of what I'm trying to reorder:

ACAD Custom Properties Order.JPG

Thanks for any help!

0 Likes
2,159 Views
5 Replies
Replies (5)
Message 2 of 6

pbejse
Mentor
Mentor

@acadadmin3KNUF wrote:

..., but now I need to know how to access those Custom parameters in the dialog box.   


 

To access custom properties thru lisp look here -> Dynamic Block Functions | Lee Mac Programming 

 

To re-order Custom parameters

  • Launch the dynamic block editor (BEDIT) and open the requested block.
  • Click on the icon "Parameters Manager" (fx) on the Manage tab in the "Block Editor" ribbon (or type the command PARAMETERS).
  • This will open the palette PARAMETERS MANAGER
  • In the palette, display the column Order  - it may be hidden on the right. If it is not displayed, right-click on the heading bar and enable it by checking it. In the dafault state, the Order column is empty

pbejse_0-1627018145368.png

 

HTH

 

 

0 Likes
Message 3 of 6

matthew_neesley
Collaborator
Collaborator

NO!  That does NOT work!  Lookup Parameters do NOT show up in the Parameters window!

no lookups here!.JPG

0 Likes
Message 4 of 6

CodeDing
Advisor
Advisor

@acadadmin3KNUF ,

 

To access lookup parameters, you will need to look DEEP into the depths of the block record.

Luckily for us, Andrey Lazebny (RIP), performed a lot of this leg work for us.

Check out this page on his work:

http://poleshchuk.spb.ru//cad/2009/tainypod08e.htm

 

Read the page and the last grouping of green text will show you the path to access the (0 . "ACAD_EVALUATION_GRAPH")... and thence the parameters within your block..

 

From there I would assume it's feasible to gather the entity names of your parameters, and the string names of them also. Then you could probably create a GUI and utilize entmod to rearrange them... Probably... Idk... Hopefully though. It's a lot of leg work but I would be excited to see your solution.

 

Best,

~DD

0 Likes
Message 5 of 6

Sea-Haven
Mentor
Mentor

I have used lee-mac dynamic block lisp and my own library DCL to display Dynamic block choices for visibility rather than clicking on the block as part of a insertion. There is "BLOCKVISIBILITYPARAMETER" there may be others like "lookup" so can display in a dcl a reorder may then be possible I can see trying to re-order by playing with entmod etc may be difficult. So post a sample dwg and will have  a look.

0 Likes
Message 6 of 6

matthew_neesley
Collaborator
Collaborator

ACTUALLY...I just figured out how it would be possible to totally "go around" the LookUp Parameters.  I will post a follow-up the next 24 hrs 😁

0 Likes