C# Class Revit.SDK.Samples.VisibilityControl.CS.VisibilityCtrl

An object control visibility by category
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Isolate() public méthode

Isolate elements with the same categories that the selected elements belong to using PickOne or WindowSelect.
public Isolate ( ) : void
Résultat void

SetVisibility() public méthode

Set the visibility for the active view
public SetVisibility ( bool visible, string name ) : bool
visible bool
name string
Résultat bool

VisibilityCtrl() public méthode

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
Résultat System