Revit 2025.3 API
Multi |
Only Linear and LinearFixed dimension style types are allowed for new MultiReferenceAnnotations.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool IsAllowedDimensionStyleType( DimensionStyleType dimensionStyleType )
Public Function IsAllowedDimensionStyleType ( dimensionStyleType As DimensionStyleType ) As Boolean
public: bool IsAllowedDimensionStyleType( DimensionStyleType dimensionStyleType )
member IsAllowedDimensionStyleType : dimensionStyleType : DimensionStyleType -> bool
Parameters
- dimensionStyleType DimensionStyleType
- The dimension style type to test.
Return Value
BooleanTrue if the type is allowed.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
See Also