OmniGraph Node omni.graph.test.TestAllowedTokens

omni.graph.test.TestAllowedTokens Properties

Name

Value

Version

1

Extension

omni.graph.test

Icon

ogn/icons/omni.graph.test.TestAllowedTokens.svg

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Test Node: Allowed Tokens (Python)

__categories

internal:test

__language

Python

Generated Class Name

OgnTestAllowedTokensDatabase

Python Module

omni.graph.test

omni.graph.test.TestAllowedTokens Description

Example node testing the allowedToken list on attributes

omni.graph.test.TestAllowedTokens Inputs

Name

Type

Default

Required?

Descripton

inputs:simpleTokens

token

red

Y

Attribute with simple allowedTokens

allowedTokens

red,green,blue

__allowedTokens

[“red”, “green”, “blue”]

__default

“red”

inputs:specialTokens

token

>

Y

Attribute with allowedTokens containing special characters

allowedTokens

<,>

__allowedTokens

{“lt”: “<”, “gt”: “>”}

__default

“>”

omni.graph.test.TestAllowedTokens Outputs

Name

Type

Default

Required?

Descripton

outputs:combinedTokens

token

None

Y

Token consisting of the two inputs, concatenated.