Page 2 of 2

Re: Clarisse Python Scripting Tutorial Series

Unread postPosted: Tue Jun 05, 2018 5:48 am
by Preludian
What @mdkaisaid!That would help a lot.

Re: Clarisse Python Scripting Tutorial Series

Unread postPosted: Thu Jun 07, 2018 10:44 pm
by bvz2000
A tutorial on writing your own nodes would be useful. I know that python nodes are kind of limited at the moment (with no real outputs?)

But it would still be a useful tutorial I think.

Re: Clarisse Python Scripting Tutorial Series

Unread postPosted: Thu Mar 07, 2019 6:11 pm
by dougike
I use python just enough to hack scripts that will automate our workflow and minimise repetitive tasks.
The part I struggle with is the interface scripting. I cant find enough examples of other peoples interface scripts to "hack" from.

Right now I need to find a way for the user to pick a context and then feed that back into the script..just as an example :) but please tell me if you know how.

Re: Clarisse Python Scripting Tutorial Series

Unread postPosted: Fri Mar 08, 2019 7:39 am
by lookdev
Video tutorials.

Re: Clarisse Python Scripting Tutorial Series

Unread postPosted: Fri Mar 08, 2019 4:01 pm
by stheroux
Dougike, you can do this to pick a context:

Code: Select all
my_context = ix.api.IOHelpers.pick_context(ix.application, "Pick your context")


Cheers
Sylvain

Re: Clarisse Python Scripting Tutorial Series

Unread postPosted: Sun Mar 10, 2019 9:16 am
by dougike
thank you Sylvain. works! And now I know about IOHelpers :)

Re: Clarisse Python Scripting Tutorial Series

Unread postPosted: Wed May 29, 2019 3:56 pm
by RickToxik
Ah yes, this is really needed, I am struggling to gather information on python manipulation in Clarisse, it's frustrating to get started in Clarisse... Both video and (better) written tutorials are needed. Here is the subjects I would recommend:

- Scripting environment in Clarisse (run commands, watch the log, etc)
- Basic object manipulation (build python selection, get and set attributes, run loops, get node type, etc)
- GUI scripting (not in QT)
- python case studies

Re: Clarisse Python Scripting Tutorial Series

Unread postPosted: Mon Jun 10, 2019 1:55 am
by deviner
+++ python sdk documentation is really hard to start guys, take a look at the houdini documantation please
thanks!

Re: Clarisse Python Scripting Tutorial Series

Unread postPosted: Tue Mar 10, 2020 4:57 pm
by smoory
Hello,

Did you guys ever manage to write some tutorials for Python in Clarisse? I have some ideas if you haven't:

A complete list of Clarisse specific basic commands, along with examples of how they can be used.
Basic Attribute querying and setting, commands and tricks.
Browser/Explorer traversal, searching, and renaming or re-organization.
User Interface building.
Setting constraints, creating groups, managing groups.
Adding to or changing shading layers.

I could go on and on...

You can take a look at the way The Foundry have written their Python documentation for Katana, but honestly, I find their guides to be a bit too ambiguous at times, and they don't include enough examples that you can copy and paste into your script editor to test.

Thanks!
Steve.

Re: Clarisse Python Scripting Tutorial Series

Unread postPosted: Thu Mar 12, 2020 10:39 am
by dboude
Unfortunately not. We're focusing on other higher priority things...

Thanks for your feedback.