algorithmic modeling for Rhino
Hello everyone,
I'm trying to create a custom component(C# vs2012), that has customAtrributes that overwrite default fonts and text size of a component.
I managed to create a custom button that has a custom font/size by using the method " GH_Capsule capsule = GH_Capsule.CreateTextCapsule(this.buttonArea, this.textArea, GH_Palette.Black, "Reset", GH_FontServer.Small, 1, 9); ".
Can somebody help me with what methods I should implement in order to change the default text fonts and size of input/output parameters??
thank you!
Tags:
Replies are closed for this discussion.
Well, that'll be pretty much everything. You have to override the Layout and the Render methods on the attributes. And you either have to override the input and output parameter attributes or decide to not call them. But that also means you have to draw the correct state tags for all inputs and outputs.
Are you really sure you want to invest a month of your life into making something look different from the standard?
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by