Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/r/h/rhinopython-HEAD/scripts/rhinoscript/toolbar.py   rhinopython(Download)
    tbfile = Rhino.RhinoApp.ToolbarFiles.FindByName(name, True)
    if tbfile:
        group = tbfile.GetGroup(toolbar_group)
        if group:
            group.Visible = False
    tbfile = Rhino.RhinoApp.ToolbarFiles.FindByName(name, True)
    if tbfile:
        if group: return tbfile.GetGroup(toolbar) != None
        return tbfile.GetToolbar(toolbar) != None
    return False
    tbfile = Rhino.RhinoApp.ToolbarFiles.FindByName(name, True)
    if tbfile:
        group = tbfile.GetGroup(toolbar_group)
        if group: return group.IsDocked
 
    tbfile = Rhino.RhinoApp.ToolbarFiles.FindByName(name, True)
    if tbfile:
        group = tbfile.GetGroup(toolbar_group)
        if group: return group.Visible
 
    tbfile = Rhino.RhinoApp.ToolbarFiles.FindByName(name, True)
    if tbfile:
        group = tbfile.GetGroup(toolbar_group)
        if group:
            group.Visible = True