RVTDocs.com

Application.IsMechanicalEnabled

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