Get Relative Path

Generates a path token relative to anchor from path.(ex. (/World, /World/Cube) -> /Cube)

Installation

To use this node enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Anchor (inputs:anchor)

token

Path token to compute relative to (ex. /World)

Path (inputs:path)

['token', 'token[]']

Path token to convert to a relative path (ex. /World/Cube)

None

Outputs

Name

Type

Descripton

Default

Relative Path (outputs:relativePath)

['token', 'token[]']

Relative path token (ex. /Cube)

None

State

Name

Type

Descripton

Default

Anchor (state:anchor)

token

Snapshot of previously seen rootPath

None

Path (state:path)

token

Snapshot of previously seen path

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.GetRelativePath

Version

1

Extension

omni.graph.nodes

Has State?

True

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Get Relative Path

Categories

sceneGraph

Generated Class Name

OgnGetRelativePathDatabase

Python Module

omni.graph.nodes