collectReferenceIds MethodProtected

Collect the Ids of this entity's references at this level of the class hierarchy. A reference is any entity referenced by this entity's EC Data This is important for cloning operations but can be useful in other situations as well.

collectReferenceIds(referenceIds: Id64Set): void

note In order to clone/transform an entity, all referenced elements must have been previously cloned and remapped within the IModelCloneContext.

note This should be overridden (with super called) at each level the class hierarchy that introduces references.

see Element.getReferenceIds

Parameter Type Description
referenceIds Id64Set The Id64Set to populate with reference Ids.

Returns - void

Defined in

Last Updated: 19 August, 2022