Hello,
there is an event at the show of multiselect ribbontab on Civil3D?
regards Mario
Can you give us some more information?
At the show? Do you mean when the Ribbon Tab is loaded?
Hello,
I programming a Tool to set elevation from Selected objects to input Value, parsing layername or flatten to input value.
The reference for elevation (z-axis=0.0) is possible world or current ucs. To visible the current reference i change
the icon from ribbonbutton. That all works fine. To change the icon i use the "Autodesk.Windows.RibbonButton" because the "Autodesk.AutoCAD.Customization.RibbonButton" has no "Image and LargeImage" property.
In Civil3D activate on multiple objecttype-selection a new ribbon tab from 'state-kontextsensitive-multiselect-tab' (sorry i have only a german civil). On cui i have bound the ribbongroup to this tabs. If the tab is shown i must change the 'reference-ribbonbutton-icon'.
A solutions approach might also 'how do I get one from a "Autodesk.AutoCAD.Customization.RibbonButton" a "Autodesk.Windows.RibbonButton"'?
--------------------------------------------------------------------------------
At the show? Do you mean when the Ribbon Tab is loaded?
--------------------------------------------------------------------------------
Or even this.
regards Mario
Sorry,
I don't understand your question very well.
Maybe use the Copy or Clone method to copy it to the Other type of object? Just taking a guess.
I took a look at the RibbonButton Classes in
Autodesk.Windows & Autodesk.AutoCAD.Customization.
You may want to try asking this question in the ARX development area.
(http://forums.autodesk.com/t5/Autodesk-ObjectARX/bd-p/34)
But maybe this might help.
Sorry, I know not much help.
Good luck!
Hi Mario,
From what I understand, are you looking for an event that will let you know that the Ribbon is initialized.
Have you tried using the "Autodesk.Windows.ComponentManager.ItemInitialized" event ?
In the event handler, you can check if the ribbon is not null and then you know for sure that the Ribbon is ready.
void ComponentManager_ItemInitialized(object sender, RibbonItemEventArgs e) { if (Autodesk.Windows.ComponentManager.Ribbon != null) { // Ribbon is ready... } }