2026 Method
Changes 0
M

GlobalParametersManager.AreGlobalParametersAllowed

Description:
Tests whether global parameters are allowed in the given document.
Remarks:
First of all, global parameters can be had in main project documents only; they are not supported in family documents. However, there may also be other circumstances due to which global parameters may be disallowed in a particular project, either temporarily or permanently.
public static bool AreGlobalParametersAllowed(
	Document document
)
  • document
    A revit document of interest.
Return Value Boolean Boolean