Creates a new LoadUsage.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static LoadUsage Create(
Document document,
string name
)
Public Shared Function Create (
document As Document,
name As String
) As LoadUsage
public:
static LoadUsage^ Create(
Document^ document,
String^ name
)
static member Create :
document : Document *
name : string -> LoadUsage
Parameters
- document Document
-
The Document to which new load usage element will be added.
- name String
-
The name of the load usage.
Return Value
LoadUsage
The newly created load usage element if successful,
otherwise.
Exceptions
See Also