File tree Expand file tree Collapse file tree
source/Nice3point.Revit.Extensions/UtilsExtensions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ This update focuses on improved API design through C# 14 extension methods synta
4444- ` element.GetCuttingVoidInstances() `
4545- ` element.AddInstanceVoidCut(FamilyInstance) `
4646- ` element.RemoveInstanceVoidCut(FamilyInstance) `
47- - ` element.InstanceVoidCutExists (FamilyInstance) `
47+ - ` element.IsInstanceVoidCutExists (FamilyInstance) `
4848- ` element.IsAllowedForSolidCut `
4949- ` element.IsElementFromAppropriateContext `
5050- ` element.GetCuttingSolids() `
Original file line number Diff line number Diff line change @@ -284,10 +284,10 @@ element.AddInstanceVoidCut(cuttingInstance);
284284element .RemoveInstanceVoidCut (cuttingInstance );
285285```
286286
287- ** InstanceVoidCutExists ** checks whether the instance is cutting the element.
287+ ** IsInstanceVoidCutExists ** checks whether the instance is cutting the element.
288288
289289``` csharp
290- var exists = element .InstanceVoidCutExists (cuttingInstance );
290+ var exists = element .IsInstanceVoidCutExists (cuttingInstance );
291291```
292292
293293### Extensible storage
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public void RemoveInstanceVoidCut(FamilyInstance cuttingInstance)
7575 /// <param name="cuttingInstance">The cutting family instance</param>
7676 /// <returns>Returns true if the instance is cutting the element.</returns>
7777 [ Pure ]
78- public bool InstanceVoidCutExists ( FamilyInstance cuttingInstance )
78+ public bool IsInstanceVoidCutExists ( FamilyInstance cuttingInstance )
7979 {
8080 return InstanceVoidCutUtils . InstanceVoidCutExists ( element , cuttingInstance ) ;
8181 }
You can’t perform that action at this time.
0 commit comments