Skip to content

cube.getId ​

Returns the id of a cube within the specified model, this function is used to retrieve the id of a cube.

js
cube.getId(cube_name)

Parameters ​

  • cube_name - The name of a cube.

Example ​

js
let cube_id = cube.getId("CubeA");