HasSchema Method


Extended Properties Link Data Has Schema Method

Queries whether the schema already exists in this data.

Namespace: Autodesk.Revit.DB.ExternalData
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public bool HasSchema(
	ForgeTypeId schemaId
)

Parameters

schemaId ForgeTypeId
Identifier of the schema to check.

Return Value

Boolean
True if the schema already exists in this data, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →