Create Method (Document, String)


Load Combination Create(Document, String) Method

Creates a new default LoadCombination.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static LoadCombination Create(
	Document document,
	string name
)

Parameters

document Document
The Document to which new load combination element will be added.
name String
The name of the load combination.

Return Value

LoadCombination
The newly created load combination element if successful, otherwise.
Exceptions
Exception Condition
ArgumentException The given name is not unique -or- name cannot include prohibited characters, such as "{, }, [, ], |, ;, less-than sign, greater-than sign, ?, `, ~".
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →