Conversion | Matterport SDK
Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.

Index

Functions

Functions

createIdMap

  • createIdMap(invert?: undefined | false | true): Promise<Dictionary<string>>
  • Generate a map between v2 IDs and v1 IDs

    This method will help with migration between IDs used for floors.

    const mapping = await mpSdk.Floor.Conversion.createIdMap();
    

    Parameters

    • Optional invert: undefined | false | true

    Returns Promise<Dictionary<string>>