Revit 2025.3 API
Load |
Creates a new LoadNature.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static LoadNature Create( Document document, string name )
Public Shared Function Create ( document As Document, name As String ) As LoadNature
public: static LoadNature^ Create( Document^ document, String^ name )
static member Create : document : Document * name : string -> LoadNature
Parameters
- document Document
- The Document to which new load nature element will be added.
- name String
- The name of the load nature.
Return Value
LoadNatureThe newly created load nature element if successful, otherwise.
| Exception | Condition |
|---|---|
| ArgumentException | The given name is not unique |
| ArgumentNullException | A non-optional argument was null |
See Also