Skip to content

Commit 7de8ea1

Browse files
committed
[Extensions] Rename SupportsMultiAlign to IsMultiAlignSupported
1 parent fd9f31d commit 7de8ea1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ This update focuses on improved API design through C# 14 extension methods synta
459459

460460
#### Annotation
461461

462-
- `element.SupportsMultiAlign`
462+
- `element.IsMultiAlignSupported`
463463
- `element.GetAnnotationOutlineWithoutLeaders()`
464464
- `element.MoveWithAnchoredLeaders(XYZ)`
465465

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2398,10 +2398,10 @@ var instance = familySymbol.CreateAdaptiveComponentInstance();
23982398

23992399
### Annotation
24002400

2401-
**SupportsMultiAlign** returns true if the element can be aligned to other similar elements.
2401+
**IsMultiAlignSupported** returns true if the element can be aligned to other similar elements.
24022402

24032403
```csharp
2404-
var supports = element.SupportsMultiAlign;
2404+
var supports = element.IsMultiAlignSupported;
24052405
```
24062406

24072407
**GetAnnotationOutlineWithoutLeaders** gets the four corners of the alignable element in model space without its leaders.

source/Nice3point.Revit.Extensions/UtilsExtensions/AnnotationMultipleAlignmentUtilsExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static class AnnotationMultipleAlignmentUtilsExtensions
1717
/// <returns>
1818
/// True if the element can be aligned using the multiple alignment commands, false otherwise.
1919
/// </returns>
20-
public bool SupportsMultiAlign => AnnotationMultipleAlignmentUtils.ElementSupportsMultiAlign(element);
20+
public bool IsMultiAlignSupported => AnnotationMultipleAlignmentUtils.ElementSupportsMultiAlign(element);
2121

2222
/// <summary>
2323
/// Gets the four corners of the alignable element in model space without its leaders.

0 commit comments

Comments
 (0)