Change built-in object property page? or create one from scratch?

Hello.
I’m In process of creating a plugin in C# that adds extra information about selected object in object properties tab. My goal is to bring basic useful information at glance without any commands and quick object modification, such as length/radius/diameter/circumference, like it’s done in AutoCAD

I couldn’t find a way to modify existing object properties tab (page), so I’m creating one from scratch.

So, I have a few questions, maybe somebody could help me with:

  1. is there a way modify existing built-in panel pages, specifically object properties page?
  2. In case #1 is a “no”, how to make my custom tab as default after rhino restarted? Currently it remembers which tab (page) is opened in current session, but after restart Rhino shows its own default properties tab (page).
  3. is there a built-in layer list I could use as dropdown menu? I see there is a window type, but I’d like it as a listbox.
  4. Some built-in dropwdown items open dialog boxes (i.e. Display Mode → Multiple Viewports)
    Are there any methods to trigger these dialogs? Or I’ll have to recreate them as well?

Thank you.

Are you aware of box edit?

No, I’m not aware of this. Thank you for the suggestion, but looking at your screenshot, I don’t think it’s something I need…
I’m working pretty much only with 2D objects and having information about these objects always visible without switching any tabs is what I’m trying to achieve.

@wim are you sure this topic belong in Rhino Developer? This is about a plugin I’m writing…

[EDIT]
Now I’m confused what “Rhino Developer” is vs “Plugin” sections here, I thought “Rhino Developer” is about Rhino modification using its source, not modification from external software as the description suggested…

By the way, the Properties page is extendable - you can add custom pages to it depending on what is selected.

— Dale

Yes, that’s what I’m doing right now, but I was hoping I could customize the page itself, not add another.

you are aware of adding you page / tab to the properties ?

https://developer.rhino3d.com/api/rhinocommon/rhino.ui.objectpropertiespage

Literally answered that question in my previous reply :wink:, also if you look at my screenshot, you’ll see it’s a screenshot of my custom page…

My apologies if I used wrong terminology, I used “tab”, when I probably should have used “page” instead.