World state store API | Service APIs

World state store API

The world state store service API allows you to retrieve a list of world objects. You can use this list to create custom visualizers to render spatial data related to a machine on the machine’s VISUALIZE tab.

The world state store service supports the following methods:

Method Name Description
ListUUIDs List all world state transform UUIDs.
GetTransform Get a world state transform by UUID.
StreamTransformChanges Stream changes to world state transforms.
DoCommand Execute model-specific commands that are not otherwise defined by the service API.
GetResourceName Get the ResourceName for this Resource with the given name.
Close Safely shut down the resource and prevent further use.

API

ListUUIDs

List all world state transform UUIDs.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

GetTransform

Get a world state transform by UUID.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

StreamTransformChanges

Stream changes to world state transforms.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

DoCommand

Execute model-specific commands that are not otherwise defined by the service API. Most models do not implement DoCommand. Any available model-specific commands should be covered in the model’s documentation. If you are implementing your own vision service and want to add features that have no corresponding built-in API method, you can implement them with DoCommand.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

GetResourceName

Get the ResourceName for this Resource with the given name.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

Close

Safely shut down the resource and prevent further use.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.