API Reference > imodeljs-backend > Elements > FunctionalModel > insert insert MethodStatic Insert a FunctionalPartition and a FunctionalModel that breaks it down. insert(iModelDb: IModelDb, parentSubjectId: string, name: string): string throws IModelError if there is an insert problem. Parameter Type Description iModelDb IModelDb Insert into this iModel parentSubjectId string The FunctionalPartition will be inserted as a child of this Subject element. name string The name of the FunctionalPartition that the new FunctionalModel will break down. Returns - string The Id of the newly inserted FunctionalPartition and FunctionalModel (same value). Defined in core/backend/src/domains/FunctionalElements.ts Line 48 Last Updated: 12 June, 2024