If the DimensionStyle is LinearFixed, it cannot be created in a 3D View.
If the DimensionStyle is Linear, it cannot be created in a 3D View if the view direction is perpendicular to the current work plane normal.
Returns true if the ownerViewId is not a 3D view.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static bool Is3DViewValidForDimension(
Document document,
ElementId ownerViewId,
MultiReferenceAnnotationOptions options
)
Parameters
- document Document
-
The document for the multi-reference annotation.
- ownerViewId ElementId
-
The view in which the multi-reference annotation will appear.
- options MultiReferenceAnnotationOptions
-
Options containing the references which the dimension will witness.
Return Value
Boolean
True if the view is suitable for placing the MultiReferenceAnnotation.
False otherwise.
Exceptions
See Also
Reference