Jump to content

Python code in the channels?


leytonian

Recommended Posts

Hi

 

How do I return values in a channel like those we can with simple hscript commands?

 

For instance, I wan to modify the file path of a file sop with inline code. I know I can modify it with global scripts or with a python sop by setting the parms directly but i cant seem to figure out how to do that inline.

 

thanks

Link to comment
Share on other sites

Thanks for the replies.

 

@Garf I would have never thought that I could just use a return without function. I actually tried a main function with a return before as king here. Thanks for the tip.

 

@BO RAIN

I cant exactly tell how your tool works but basically I am trying to export all groups as separate meshed. I can actaully do that using a python sop with a file saver inside a foreach loop. I was just trying to just even bypass an extra node if possible

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...