Jump to content

Enable/Disable a Palette tool programmatically


NabilG

Recommended Posts

dear experts,

apologize if this question was already addressed, but I fail to find a solution.

Is is possible to enable/disable programmatically (AutoLisp/.NET) a Tool of a given Palette .

I mean, how can I set a given tool of a palette such that it is grayed out and inactive but still displayed?

 

I would appreciate any hint or link to some recipe on how to implement this feature programmatically.

 

 

Here is my configuration:

- Windows 7 64 bits

- AutoCAD 2015 SP2

- .NET framework 4.5/Visual Studio 2012

 

thanks for your valuable help.

Link to comment
Share on other sites

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