Skip to main content

entityReferenceOfTwinFileEntity

Callable

  • entityReferenceOfTwinFileEntity(twinId: string, fileId: string, gid: string): EntityReference | undefined

  • The entity reference of the entities with a given gid in one file of a twin, twin~twin:<twinId>.file:<fileId>/entities/<gid>, with no version qualifier. This is the spelling a twin specification's representedBy takes.

    Never throws. Returns undefined when twinId or fileId is not a lowercase uuid, or gid is not a canonical IFC GlobalId; all three are used as written, with no case normalisation.


    Parameters

    • twinId: string
    • fileId: string
    • gid: string

    Returns EntityReference | undefined