Checks if given Reference identifies either a valid element or subelement.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2018
Syntax
| C# |
|---|
public static bool IsValidSubelementReference(
Document aDoc,
Reference reference
) |
| Visual Basic |
|---|
Public Shared Function IsValidSubelementReference ( _
aDoc As Document, _
reference As Reference _
) As Boolean |
| Visual C++ |
|---|
public:
static bool IsValidSubelementReference(
Document^ aDoc,
Reference^ reference
) |
Return Value
True if %reference% identifies a valid element or subelement, false otherwise.
Remarks
Exceptions
See Also