MultiReferenceAnnotation.Is3DViewValidForDimension
Method
Description:
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.
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.
Syntax
public static bool Is3DViewValidForDimension(
Document document,
ElementId ownerViewId,
MultiReferenceAnnotationOptions options
)
Parameters
Parameter | Type | Description |
---|---|---|
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
Type | Description |
---|---|
Boolean | True if the view is suitable for placing the MultiReferenceAnnotation. False otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |