View Properties


The View type exposes the following members.

Properties

Name Description
Public property AnalysisDisplayStyleId
Element id of Analysis Display Style associated with the view.
Public property AreAnalyticalModelCategoriesHidden
Indicates if analytical model categories are currently hidden in the view.
Public property AreAnnotationCategoriesHidden
Indicates if annotation categories are currently hidden in the view.
Public property AreImportCategoriesHidden
Indicates if import categories are currently hidden in the view.
Public property AreModelCategoriesHidden
Indicates if model categories are currently hidden in the view.
Public property ArePointCloudsHidden
Indicates if point clouds are currently hidden in the view.
Public property AssemblyInstanceId
The id of the assembly instance to which the element belongs.
(Inherited from Element .)
Public property AssociatedAssemblyInstanceId
The Id of the assembly instance that owns the assembly view.
Public property BoundingBox
Retrieves a box that circumscribes all geometry of the element.
(Inherited from Element .)
Public property CanBePrinted
Test whether the view can be printed.
Public property Category
Retrieves a Category object that represents the category or sub category in which the element resides.
(Inherited from Element .)
Public property CreatedPhaseId
Id of a Phase at which the Element was created.
(Inherited from Element .)
Public property CropBox
The Crop Box applied to the view, or an outline encompassing the crop region applied to the view.
Public property CropBoxActive
Whether or not the Crop Box/Region is active for the view.
Public property CropBoxVisible
Whether or not the Crop Box/Region is visible for the view.
Public property DemolishedPhaseId
Id of a Phase at which the Element was demolished.
(Inherited from Element .)
Public property DesignOption
Returns the design option to which the element belongs.
(Inherited from Element .)
Public property DetailLevel
The detail level of this view.
Public property Discipline
The Discipline of the view.
Public property DisplayStyle
The DisplayStyle of the view. Returns DisplayStyle.Wireframe if the view has no display style.
Public property Document
Returns the Document in which the Element resides.
(Inherited from Element .)
Public property GenLevel
The level for the view.
Public property Geometry
Retrieves the geometric representation of the element.
(Inherited from Element .)
Public property GroupId
The id of the group to which an element belongs.
(Inherited from Element .)
Public property Id
A unique identifier for an Element in an Autodesk Revit project.
(Inherited from Element .)
Public property IsAssemblyView
Indicates if the view is assembly view.
Public property IsTemplate
Test whether the view is a view template.
Public property IsTransient
Indicates whether an element is transient or permanent.
(Inherited from Element .)
Public property IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from Element .)
Public property LevelId
The id of the level associated with the element.
(Inherited from Element .)
Public property Location
This property is used to find the physical location of an element within a project.
(Inherited from Element .)
Public property Name
A human readable name for the Element.
(Inherited from Element .)
Public property Origin
Returns the origin of the screen.
Public property Outline
The bounds of the view in paper space (in inches).
Public property OwnerViewId
The id of the view that owns the element.
(Inherited from Element .)
Public property Parameter Guid
Retrieves a parameter from the element given a GUID for a shared parameter.
(Inherited from Element .)
Public property Parameter BuiltInParameter
Retrieves a parameter from the element given a parameter id.
(Inherited from Element .)
Public property Parameter Definition
Retrieves a parameter from the element based on its definition.
(Inherited from Element .)
Public property Parameters
Retrieves a set containing all of the parameters that are contained within the element.
(Inherited from Element .)
Public property ParametersMap
Retrieves a map containing all of the parameters that are contained within the element.
(Inherited from Element .)
Public property PartsVisibility
The visibility setting for parts in this view.
Public property Pinned
Identifies if the element has been pinned to prevent changes.
(Inherited from Element .)
Public property RevealConstraintsMode
Indicates whether the Reveal Constraints mode is activated in the view.
Public property RightDirection
The direction towards the right side of the screen.
Public property Scale
The scale of the view.
Public property ShadowIntensity
The intesity of cast shadows - 0 = no shadows, 100 = black.
Public property SketchPlane
The sketch plane assigned to the view for model curve creation.
Public property SunAndShadowSettings
The sun and shadow settings assigned to the view for shadow calculation and rendering.
Public property SunlightIntensity
The intensity of the simulated (directional) sunlight. 0 = no directional light; maximum value is 100.
Public property TemporaryViewModes
Data of temporary view modes associated with this view.
Public property Title
The view title. This consists of the view name plus other modifiers, such as the view type, sheet number, area scheme, and/or assembly type, depending on the specifics of the view.
Public property UniqueId
A stable unique identifier for an element within the document.
(Inherited from Element .)
Public property UpDirection
The direction towards the top of the screen.
Public property ViewDirection
The direction towards the viewer.
Public property ViewName
The name of the view.
Public property ViewSpecific
Identifies if the element is owned by a view.
(Inherited from Element .)
Public property ViewTemplateId
The id of the template view that controls this view's parameters.
Public property ViewType
The type of the view.
Public property WorksetId
Get Id of the Workset which owns the element.
(Inherited from Element .)

See Also