2027 Method
Changes 0
M

MultiReferenceAnnotation.Is3DViewValidForDimension

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.
public static bool Is3DViewValidForDimension(
	Document document,
	ElementId ownerViewId,
	MultiReferenceAnnotationOptions options
)
  • document
    The document for the multi-reference annotation.
  • ownerViewId
    The view in which the multi-reference annotation will appear.
  • options
    Options containing the references which the dimension will witness.
Return Value Boolean True if the view is suitable for placing the MultiReferenceAnnotation. False otherwise.