create MethodStatic

Create an instance of the Relationship.

create<T extends ElementRefersToElements<T>>(iModel: IModelDb, sourceId: string, targetId: string, memberPriority: number = 0): T

Parameter Type Description
iModel IModelDb  
sourceId string  
targetId string  
memberPriority number  

Returns - T

an instance of the specified class.

Defined in

Last Updated: 12 June, 2024