Revit 2026 API
Multi |
Only Linear and LinearFixed dimension style types are allowed for new MultiReferenceAnnotations.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.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