RVTDocs.com

Application.IsStructureEnabled

Property
Description:
Checks whether or not the structure discipline is enabled, and enable or disable it.
Syntax
public bool IsStructureEnabled { get; set; }
Exceptions
Exception Condition
InvalidOperationException When setting this property: The current product type is not ProductType.Revit and discipline controls are not enabled.