insert MethodStatic
Insert a new SubCategory
insert(iModelDb: IModelDb, parentCategoryId: Id64String, name: string, appearance: Props): Id64String
throws IModelError if unable to insert the element.
Parameter | Type | Description |
---|---|---|
iModelDb | IModelDb | Insert into this iModel |
parentCategoryId | Id64String | Insert the new SubCategory as a child of this Category |
name | string | The name of the SubCategory |
appearance | Props | The appearance settings to use for this SubCategory |
Returns - The Id of the newly inserted SubCategory element.
Defined in
Last Updated: 08 January, 2020