createCode MethodStatic
Create a Code for an ExternalSourceAttachment element given a name that is meant to be unique within the scope of its parent ExternalSource.
createCode(iModelDb: IModelDb, scopeElementId: string, codeValue: string): Code
see ExternalSourceAttachment.ensureCodeSpec
| Parameter | Type | Description |
|---|---|---|
| iModelDb | IModelDb | The IModelDb |
| scopeElementId | string | The parent ExternalSource |
| codeValue | string | The ExternalSourceAttachment name |
Returns - Code
Defined in
- backend/src/ExternalSource.ts Line 122
Last Updated: 30 November, 2023