Jump to content

Update parameter in realtime using python


JH12

Recommended Posts

I've got a list of coordinates in a .txt file and I'd like to be able to create a loop which iterates over these values and pipes them into a parameter, so I can watch that parameter animate in realtime (as though I was middle mouse dragging over a parameter, for example).  
So far, by importing the data as a for loop and applying it on each iteration to the parameter, it doesnt work.. it will just update once on applying the script, but wont continuously update in the parameter in the viewport as new values are iterated over and assigned. 

Is there a way to achieve this? Using python 3, preferably.

Thanks for the tips. 
 

Edited by Fireandsmoke
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...