createCode MethodStatic

Create a Code for an ExternalSource element given a name that is meant to be unique within the scope of the iModel.

createCode(iModelDb: IModelDb, codeValue: string): Code

see ExternalSource.ensureCodeSpec

Parameter Type Description
iModelDb IModelDb The IModelDb
codeValue string The ExternalSource name

Returns - Code

Defined in

Last Updated: 29 November, 2022