Identifies whether an element that contains the given reference can host reinforcement.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public static bool IsReferenceContainedByAValidHost( Document doc, Reference reference )
Parameters
- doc Document
- A document.
- reference Reference
- The reference that is part of the element that will be checked.
Return Value
BooleanTrue if the input Element can host reinforcement elements, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |