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

An object control visibility by category
Exibir arquivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method 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 method

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

SetVisibility() public method

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

VisibilityCtrl() public method

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
return System