<Code Lib>
M

LoadCase.Create(Document, String, ElementId, ElementId)

Description:
Creates a new LoadCase.
Remarks:
This method is designed to create LoadCase that is associated with user defined category.
Overloads (2):
Create(Document,String,ElementId,ElementId)

public static LoadCase Create(
	Document document,
	string name,
	ElementId natureId,
	ElementId subcategoryId
)

Return Value LoadCase The newly created load case element if successful, otherwise.

  • The given name is not unique. -or- name cannot include prohibited characters, such as "{, }, [, ], |, ;, less-than sign, greater-than sign, ?, `, ~".
  • A non-optional argument was null

Loading…