Jump to content

Possible to add blocks onto a tool palette using API, C#, .NET, etc?


Recommended Posts

Posted

I really, really need the ability to build tool palettes full of blocks by coding.  Yes, I need to do it this way, I have to constantly re-make close to 50 tool palettes every 3 weeks or so.  It is an extremely arduous task, and very soon, I will have to make close to ONE HUNDRED tool palettes.  No, we can't make them "networked" either, they have to be distributed externally to our customers who use our blocks. 

 

One of the major driving forces behind this request is we need the ability to mix-and-match blocks from various releases, such as Rev 11-1 of Block #50 at the same time as Rev 10-3 of Block #50 and so on.  So the name of the block in the resource dwg may not change...execept for the rev number in that block name.  Overall, this may not sound like a good idea, but it is the setup I have to operate in.  Reasoning/rationale for it is too much to elaborate on in this initial post, trust me.

 

I have done an absolute TON of searching over the last week.  I keep finding "put commands" or "put buttons" on a tool palette with code.  I MUST have the coding ability to put a BLOCK on a tool palette, and then set Tool Properties with code also.  

 

Is what I want possible within the API with any officially defined Methods?  I myself am not an experience coder, but I have several coworkers who are, so if you have applicable fragements of knowledge, I'm all ears. This would change my whole world unbelievably 

Posted

Did you read the post at https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-can-i-put-a-block-on-a-tool-palette-with-code/td-p/13091976 

 

It talks about what is in a .ATC file.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...