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