Hello,
Is it possible to have an exemple in C# file how to extend the ObjectPropertiesPage for Rhino 6.
Thanks
Hello,
Is it possible to have an exemple in C# file how to extend the ObjectPropertiesPage for Rhino 6.
Thanks
Hi @gerardb,
Just override your plug-in class’s PlugIn.ObjectPropertiesPages virtual method and add your page to the collection.
protected override void ObjectPropertiesPages(List<ObjectPropertiesPage> pages)
{
var my_page = new MyObjectPropertiesPage();
pages.Add(my_page);
}
– Dale
Hi Dale,
Thanks to answering.
I get the icon of Mypropperties collapse with the other properties but no drawing of control from Myproperties page, white page !
The Mypropperties is UserControl, should I miss something.
Cordialement,
Gérard BOUTEAU
5 rue des quatre vents
17137 MARSILLY
06 82 84 18 15
Hi @gerardb,
There is a WinForms sample in the Rhino developer samples on GitHub.
You might have a look and see if it helps.
– Dale