Skip to main content
Ctrl+K
Logo image

COMPAS Viewer

  • Introduction
  • Installation
  • Tutorials
    • File Structure
  • Examples
    • Basic Examples
    • Object Examples
    • Color Examples
    • Layout Examples
    • Dynamic Examples
    • Other Examples
  • API Reference
    • compas_viewer.viewer
    • compas_viewer.scene
    • compas_viewer.controller
    • compas_viewer.actions
    • compas_viewer.components
    • compas_viewer.configurations
    • compas_viewer.layout
    • compas_viewer.utilities
  • License
  • Acknowledgements
COMPAS.dev
  • API Reference
  • MenubarConfig
  • MenubarConfig.ToString

MenubarConfig.ToString

MenubarConfig.ToString()[source]

Converts the instance to a string.

This method exists for .NET compatibility. When using IronPython, the implicit string conversion that usually takes place in CPython will not kick-in, and in its place, IronPython will default to printing self.GetType().FullName or similar. Overriding the ToString method of .NET object class fixes that and makes Rhino/Grasshopper display proper string representations when the objects are printed or connected to a panel or other type of string output.

On this page
  • MenubarConfig.ToString()

© Copyright COMPAS Association.

Created using Sphinx 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.