C# Класс Revit.SDK.Samples.VisibilityControl.CS.VisibilityCtrl

An object control visibility by category
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Isolate ( ) : void

Isolate elements with the same categories that the selected elements belong to using PickOne or WindowSelect.

SetVisibility ( bool visible, string name ) : bool

Set the visibility for the active view

VisibilityCtrl ( Autodesk document ) : System

Default constructor

get all categories of this document. check its visibility for the active document, and initialize a hashtable.

Описание методов

Isolate() публичный Метод

Isolate elements with the same categories that the selected elements belong to using PickOne or WindowSelect.
public Isolate ( ) : void
Результат void

SetVisibility() публичный Метод

Set the visibility for the active view
public SetVisibility ( bool visible, string name ) : bool
visible bool
name string
Результат bool

VisibilityCtrl() публичный Метод

Default constructor
get all categories of this document. check its visibility for the active document, and initialize a hashtable.
public VisibilityCtrl ( Autodesk document ) : System
document Autodesk
Результат System