Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Loading Blocks from Ribbon Tab with LISP support

6 REPLIES 6
Reply
Message 1 of 7
heblikar.chaitanya45
187 Views, 6 Replies

Loading Blocks from Ribbon Tab with LISP support

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...

 

 

Labels (1)
6 REPLIES 6
Message 2 of 7

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
Message 3 of 7

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

 

Message 4 of 7

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.

Message 5 of 7

i'm talking about the blockspalette not the toolpalette

Message 6 of 7

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

EESignature

Message 7 of 7

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report