Adding blocks to a Ribbon

Adding blocks to a Ribbon

Anonymous
Not applicable
2,681 Views
14 Replies
Message 1 of 15

Adding blocks to a Ribbon

Anonymous
Not applicable

Hi,

 

I have created some HVAC blocks. now I want to create a Ribbon called HVAC and add these blocks to this ribbon so I can easily insert the blocks to my drawings.

 

can you please help with how to add the blocks into ribbon

0 Likes
2,682 Views
14 Replies
Replies (14)
Message 2 of 15

S.Faris
Advisor
Advisor

If you just want to simplify the process of inserting blocks why not use Tool Palettes.

 

See this Post for Details : Have You Tried: Insert Blocks Quickly with Tool Palettes

 

In this way you can categorize the blocks with multiple tabs, see a preview and add a bunch of them to the palette too.

SALMANUL FARIS

0 Likes
Message 3 of 15

Anonymous
Not applicable

Thanks for reply.

 

Yeah I know about palettes but we wanted to try the Ribbon option and then decide which will be better for us. can you help with this please

 

Thanks

0 Likes
Message 4 of 15

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

is this a question of how to modify the ribbon generally (which could be answered by looking videos in www like >>>that video<<<) or is it specific for the syntax to insert a block for the ribbon-icon?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 5 of 15

Anonymous
Not applicable

Hi Alfred,

 

my question is: after I have created an HVAC ribbon (and now it is empty) how to insert the blocks that I have already created into it!

 

Thanks

0 Likes
Message 6 of 15

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> after I have created an HVAC ribbon (and now it is empty) how to insert

>> the blocks that I have already created into it!

Have you looked to the video?

This video shows how to create ribbon tabs, panels and rows + commands in panels.

 

Which step is the one you can't continue?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 7 of 15

Anonymous
Not applicable

Thanks Alfred,

 

The video shows you how to make a ribbon and add to it commands from the toolbars.

 

I already created the Ribbon but need to add blocks to it. so I want to be able to have icons of the blocks in my ribbon and then when I click on these icons it should insert the block into the drawing!

 

Thanks

0 Likes
Message 8 of 15

S.Faris
Advisor
Advisor

Refer this thread, if it makes any sense :Dynamic Block Insertion From Ribbon Button

 

SALMANUL FARIS

0 Likes
Message 9 of 15

ВeekeeCZ
Consultant
Consultant

Adding blocks to Ribbon it's like 10 times more complicated than to Tool pallets. 

No drag-n-drop supported...

No automatic icons...

No easy layer handling, no clickable options line "Prompt for rotation"... nothing. You need to write a macro for all these options. An example of that macro is in post #1 in the thread linked above.

 

0 Likes
Message 10 of 15

pendean
Community Legend
Community Legend
You need to study and learn coding for macros in CUI command by creating new commands using INSERT command. Ready to study? HELP in AutoCAD is a great place to start, simply type this in the search box

About Command Macros

And explore.

Here is an overview PDF that can help as well https://forums.autodesk.com/autodesk/attachments/autodesk/520/11526/1/AU09_SpeakerHandout_CP214-1.pd...

Get started: you have about a day or two of macro writing to do then test, then redo, then test again.

0 Likes
Message 11 of 15

scot-65
Advisor
Advisor
>> I already created the Ribbon but need to add blocks to it. so I want to be able to have icons of the blocks in my ribbon and then when I click on these icons it should insert the block into the drawing!

Create commands in the bottom-left pane of the CUI.
Keep in mind one command for each unique block name.
If you have 450 blocks then 450 commands (and icons) will have to be created.

There are third-party icon creators out there - free and open source available.
Icon size is limited to 32x32 - be aware the display may not be to your liking.
If you do, the CUI will simplify the color depth of the completed icon for
storage inside the CUIX and may not represent what you had in mind. CUI
understands Alpha.

Think ahead and consider having to edit the command list in the future?

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Message 12 of 15

Anonymous
Not applicable

Thanks,

 

Can you please do an example and I will follow!

0 Likes
Message 13 of 15

cadffm
Consultant
Consultant

In the attached PDF above you can read how to do...

https://m.youtube.com/watch?v=GrCNGr6rlJw 

 

HTH

 

Sebastian

0 Likes
Message 14 of 15

ian.mag
Collaborator
Collaborator

Hey @Anonymous 

 

Why not keep it simplistic simple and use the insert icon in the home tab. Besides, if all the blocks are for the HVAC, they will all be present in the fly-out.

Untitled.png

0 Likes
Message 15 of 15

Anonymous
Not applicable
0 Likes