.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing Palettes handler

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
198 Views, 5 Replies

Changing Palettes handler

Hi all,
Please, can anyone help???

I am trying to find a handler to my paletteSet which has more than one palette.

If i choose on of the palettes it should handle that event, for example get the palette name or index?? can i do it or there is no solution for that?

BTW, i am using AutoCAD2006 and C#(VS2003).

thanks in advance.

Noora.
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

No respond!!
Just want to know if there is any handler for changing palette event??
Message 3 of 6
Anonymous
in reply to: Anonymous

With ObjectARX .NET API, I think you are out luck, you can only use what
AutoDesk gives you: for Autodesk.AutoCAd.Windows.PaetteSet, there is only 3
event exposed for you to handle: Load, Save and StateChanged.

When I looked ObjectARX API for unmanaged C++, there are a bunch of
functions with name "OnXxxxx" for both PaletteSet and Pallette. I suppose
these function are the ones to raise/handle different events on
Palette/PaletteSet. So, you have to program in raw ObjectARX to use them.
May be these events or some of them will be available in future Acad
releases. General understandiing is that .NET API would include/wrap more
and more raw ObjectARX APIs with each new release. But will it be completely
equal to raw ObjectARX C++ APIs in near future? who knows.

wrote in message news:5320135@discussion.autodesk.com...
Hi all,
Please, can anyone help???

I am trying to find a handler to my paletteSet which has more than one
palette.

If i choose on of the palettes it should handle that event, for example get
the palette name or index?? can i do it or there is no solution for that?

BTW, i am using AutoCAD2006 and C#(VS2003).

thanks in advance.

Noora.
Message 4 of 6
Anonymous
in reply to: Anonymous

thanks Norman 🙂

but can I ask another question. when does StateChanged event happen??
Message 5 of 6
Anonymous
in reply to: Anonymous

The PaletteSet has a PaletteActivated event.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

wrote in message news:5320758@discussion.autodesk.com...
No respond!!
Just want to know if there is any handler for changing palette event??
Message 6 of 6
Anonymous
in reply to: Anonymous

"Norman Yuan" wrote

>> With ObjectARX .NET API, I think you are out luck,
>> you can only use what AutoDesk gives you: for
>> Autodesk.AutoCAd.Windows.PaetteSet, there is only
>> 3 event exposed for you to handle: Load, Save and
>> StateChanged.

In AutoCAD 2007, there is a new PaletteActivated event.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost