Dynamic Block with GUI

Dynamic Block with GUI

Anonymous
Not applicable
416 Views
2 Replies
Message 1 of 3

Dynamic Block with GUI

Anonymous
Not applicable

Not sure if it is possible to create a dynamic block that has a GUI for user input upon insertion. When creating control panel designs I try to keep the representation of devices simple. Often I draw rectangles representing the largest width and height of a device. For devices that have manufacturer recommendations for heat dissipation clearances around the device I will draw a dashed boundary around the component. 

 

I'd like to have a single block that can be inserted that will have a GUI for the user to enter the device width, height, heat dissipation clearance above, below, and to the left and to the right. It would then draw a rectangle to the device dimensions using a solid line and additional a dashed line boundary to the heat dissipation clearances that were entered. For now, device naming will be left out of this block.

 

Can anyone point me in the right direction to create this if it is possible? 

0 Likes
417 Views
2 Replies
Replies (2)
Message 2 of 3

ArchD
Collaborator
Collaborator

I believe Lookup Actions can get you there.

 

https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/Au...

Archie Dodge
Applications Expert - Infrastructure Solutions Division
IMAGINiT Technologies
0 Likes
Message 3 of 3

Libbya
Mentor
Mentor

Within the stock AutoCAD dynamic blocks framework, when you insert a dynamic block prior to actually placing it, you can edit all custom properties on the properties palette.  You can also set up the block using a block properties table and have the cascading pulldown menus for each selection option.  The workflow would then be insert the block, select the grip, select the various options.  If you are actually set on a custom GUI, then your question is better suited to one of the programming forums, e.g. the LISP forum.  If you would like a screencast showing the block properties selection option, then post your block. 

0 Likes