Loading Blocks from Ribbon Tab with LISP support

heblikar.chaitanya45
Enthusiast
Enthusiast

Loading Blocks from Ribbon Tab with LISP support

heblikar.chaitanya45
Enthusiast
Enthusiast

Hi Folks,

I would like your expertise and guidance in the below matetr.

I have Master CAD file within that number of individual blocks are there. I would like to put those blocks in the ribbon tab in the form of button. I have already created "MYCUIX" in the ribbon. I want LSIP code so that I can get any of the block from that Master CAD file into my working CAD file when I click on the button present in the ribbon tab.

Thank you in Advance...

 

 

0 Likes
Reply
465 Views
6 Replies
Replies (6)

paullimapa
Mentor
Mentor

I don’t believe there are options on the ribbon to display graphically along with the names of blocks inside another dwg. Have you tried Design Center


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes

Michiel.Valcke
Advisor
Advisor

Why not use the blockspalette / Libraries options? Go to your cad design once, and set the blockspalette to libraries. It will remember that as your last used drawing and each time you open de blockspalette you will already have everything pre-loaded.

You can use either the BLOCKSPALETTE or INSERT command and add it to your cui in the location where you want, or you can use the existing button from the home or view tab.

MichielValcke_0-1720422549841.png

 

0 Likes

heblikar.chaitanya45
Enthusiast
Enthusiast

While the tool palette is an option, using LISP scripts is more efficient for our needs. Exporting blocks from my tool palette and sharing them with the team would involve a lengthy process. They would have to place the TXP file and CAD files in the correct paths, import all the blocks, and then specify the images for those blocks.

To streamline this process and avoid these additional steps, I prefer using LISP scripts along with buttons. This approach will simplify the workflow for everyone involved.

Thank you for understanding.

0 Likes

Michiel.Valcke
Advisor
Advisor

i'm talking about the blockspalette not the toolpalette

cadffm
Consultant
Consultant

Hi,

 

and I can't see the benefit of a well designed odbx lisp here. Simple macro would use the -INSERTCONTENT command and does the same.

 

 

(I like to show the native ootb ways. Yes, I am fav my lisp solutions too, but I know all about it and I can edit and expand what I want myself)

 

Sebastian

0 Likes

pendean
Community Legend
Community Legend
0 Likes