Creates a new default LoadCombination.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
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
LoadCombinationThe newly created load combination element if successful, null otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The given name is not unique |
ArgumentNullException | A non-optional argument was null |