MENOZ Posted March 28, 2008 Share Posted March 28, 2008 hello. i'm trying to make a digital asset. what i want is a node, with an input. the input will be the object what will be processed into my digital asset. so i created a sub network and connected my input to the network. i want connect my input to a switch node, so i can have a default geometry. i need an expression to drive the switch. i tried with opexist() and opinput() but with no result... how can i ceck if there is a connected node thet comes from the input subnet? thank you! Quote Link to comment Share on other sites More sharing options...
SpencerL Posted March 28, 2008 Share Posted March 28, 2008 opexist(opinputpath(".",1)) you want this expression in your switch parameter. Quote Link to comment Share on other sites More sharing options...
graham Posted March 28, 2008 Share Posted March 28, 2008 You can also use HOM. 1 if pwd().parent().inputs() else 0 Quote Link to comment Share on other sites More sharing options...
MENOZ Posted March 28, 2008 Author Share Posted March 28, 2008 thank you very much! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.