Sets the GUID of the Schema of the Entities that are intended to be stored in this field.
Namespace: Autodesk.Revit.DB.ExtensibleStorage
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public FieldBuilder SetSubSchemaGUID( Guid guid )
Parameters
- guid Guid
- The GUID of the subschema.
Return Value
FieldBuilderThe FieldBuilder object may be used to add more details to the field.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | The SchemaBuilder has already finished building the Schema. -or- The field type does not utilize SubSchemas. |
