Revit 2025.3 API
Direct |
Get the currently active Library object
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static DirectShapeLibrary GetDirectShapeLibrary( Document ADoc )
Public Shared Function GetDirectShapeLibrary ( ADoc As Document ) As DirectShapeLibrary
public: static DirectShapeLibrary^ GetDirectShapeLibrary( Document^ ADoc )
static member GetDirectShapeLibrary : ADoc : Document -> DirectShapeLibrary
Parameters
- ADoc Document
Return Value
DirectShapeLibrary| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also