Scene Level

ChangeObjectLevel

Change scene level to given object.

注解

only supports one object as input.

Parameters
Name Required Description
Object Reference Yes Object Reference

Example

1
2
3
4
{
    "cmd": "ChangeObjectLevel",
    "uid":"first floor"
}

GetCurrentObjectLevel

Get current level of given object.

注解

only supports one object as input.

Parameters
Name Required Description
toBuffer Yes Buffer to store command result.

Example

1
2
3
4
{
    "cmd": "GetCurrentObjectLevel",
    "toBuffer":"currentLevel"
}

GetCurrentObjectLevelClass

Get class name of current level.

注解

only supports one object as input.

Parameters
Name Required Description
toBuffer Yes Buffer to store command result.

Example

1
2
3
4
{
    "cmd": "GetCurrentObjectLevelClass",
    "toBuffer":"currentLevelClass"
}

GetCurrentObjectLevelClassId

Get ClassId of current level, note: classId is a number.

Parameters
Name Required Description
toBuffer Yes Buffer to store command result.

Example

1
2
3
4
{
    "cmd": "GetCurrentObjectLevelClassId",
    "toBuffer":"currentLevelClassId"
}

SetExpandFloorPlanHeight

Set floor distance while expanded.

Parameters
Name Required Description
height Yes Floor distance in meters.

Example

1
2
3
4
{
    "cmd": "SetExpandFloorPlanHeight",
    "height":3
}