cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Simple python sceneplate switch

Simple python sceneplate switch

There should be an easy way to change a Sceneplate Variant via python.

Any Geometry or Material Variant can be changed like this:

selectNodeVariant(name, state)
selectMaterialVariant(name, state)

 

There is a simple line of code but it goes by index numbers and if the order or amount of plates in the Sceneplate Editor changes this will lead to unwanted results - so I never wanting to use it:

vrdSwitchNode(vrSceneplateService.getRootNode().getChild(0)).setChoice(1)

 

Currently Sceneplates require multiple lines of code if the user wants to access a specific plate by name.

 

There should be a simple command like this:

selectSceneplateVariant(name, state)

 

Thank you.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea