create MethodStatic
Create a Subject
create(iModelDb: IModelDb, parentSubjectId: Id64String, name: string, description?: string): Subject
throws IModelError if there is a problem creating the Subject
Parameter | Type | Description |
---|---|---|
iModelDb | IModelDb | The IModelDb |
parentSubjectId | Id64String | The new Subject will be a child of this Subject |
name | string | The name (codeValue) of the Subject |
description | string | The optional description of the Subject |
Returns - The newly constructed Subject
Defined in
Last Updated: 08 January, 2020