create MethodStatic
Create a TemplateRecipe2d
create(iModelDb: IModelDb, definitionModelId: string, name: string, isPrivate?: boolean): TemplateRecipe2d
@returns The newly constructed TemplateRecipe2d
@throws IModelError if there is a problem creating the TemplateRecipe2d
Parameter | Type | Description |
---|---|---|
iModelDb | IModelDb | The IModelDb |
definitionModelId | string | The Id of the DefinitionModel that contains this TemplateRecipe2d element. |
name | string | The name (Code.value) of the TemplateRecipe2d |
isPrivate | boolean |
Returns - TemplateRecipe2d
The newly constructed TemplateRecipe2d
Defined in
- core/backend/src/Element.ts Line 1217
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.