Creates a new instance of a LoadNature element within the project.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
| Visual Basic |
|---|
<ObsoleteAttribute("This method is obsolete in Revit 2016. Use LoadNature.Create() instead.")> _
Public Function NewLoadNature ( _
name As String _
) As LoadNature |
Return Value
If successful and there isn't the Load Nature Element with the
same name NewLoadNature returns an object for the newly created LoadNature.
If such element exist it returns existing element.
nullNothingnullptra null reference (Nothing in Visual Basic) is returned if the operation fails.
Exceptions
See Also