Tests whether a DirectShape or a DirectShapeType may be created in this document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2017
Syntax
| C# |
|---|
public static bool IsSupportedDocument(
Document document
) |
| Visual Basic |
|---|
Public Shared Function IsSupportedDocument ( _
document As Document _
) As Boolean |
| Visual C++ |
|---|
public:
static bool IsSupportedDocument(
Document^ document
) |
Return Value
True if a DirectShape or a DirectShapeType object can be created in this document, false otherwise.
Remarks
Exceptions
See Also