DUF Scripting - How can I change @selection to the name of a mesh in the scene?
Flortale
Posts: 611
How can I modify the following code to include the name: Genesis 8 Female Eyelashes, instead of @selected? Note: Genesis 8 Female Eyelashes are a child of Genesis 8 Female.
{ "file_version" : "0.6.0.0", "asset_info" : { }, "scene" : { "materials" : [ ], "animations" : [ { "url" : "name://@selection:?extra/studio_node_channels/channels/Visible/value", "keys" : [ [ 0, false ] ] } ] }}
The following lines don't work:
"url" : "name://Genesis 8 Female Eyelashes:?extra/studio_node_channels/channels/Visible/value","url" : "name://Genesis%208%20Female%20Eyelashes:?extra/studio_node_channels/channels/Visible/value","url" : "name://Genesis%208%20Female%20Eyelashes/studio_node_channels/channels/Visible/value",//none of these work
I'm trying to create a simple properties preset that hides a mesh without anything being selected, even if it's a child of another mesh in the scene.