<Code Lib>
2025.3 Method
Changes 0
M

GlobalParametersManager.GetAllGlobalParameters

Description:
Returns all global parameters available in the given document.

public static ISet<ElementId> GetAllGlobalParameters(
	Document document
)

  • document
    The document containing the global parameters
Return Value ISet<ElementId> A collection of Element Ids of global parameter elements.

  • Global parameters are not supported in the given document. A possible cause is that it is not a project document, for global parameters are not supported in Revit families.
  • A non-optional argument was null

Loading…