Isotropix Forums

Clarisse Python Scripting Tutorial Series

General Discussion about Isotropix and CG related topics

Re: Clarisse Python Scripting Tutorial Series

Unread postby Preludian » Tue Jun 05, 2018 5:48 am

What @mdkaisaid!That would help a lot.
Preludian
 
Posts: 65
Joined: Sat Sep 17, 2016 4:04 pm

Re: Clarisse Python Scripting Tutorial Series

Unread postby bvz2000 » Thu Jun 07, 2018 10:44 pm

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.
bvz2000
 
Posts: 416
Joined: Thu Nov 13, 2014 6:05 pm

Re: Clarisse Python Scripting Tutorial Series

Unread postby dougike » Thu Mar 07, 2019 6:11 pm

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.
dougike
 
Posts: 19
Joined: Sun Aug 31, 2014 6:44 pm

Re: Clarisse Python Scripting Tutorial Series

Unread postby lookdev » Fri Mar 08, 2019 7:39 am

Video tutorials.
lookdev
 
Posts: 64
Joined: Sun Apr 30, 2017 1:08 pm

Re: Clarisse Python Scripting Tutorial Series

Unread postby stheroux » Fri Mar 08, 2019 4:01 pm

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
stheroux
 
Posts: 89
Joined: Thu Jan 15, 2015 9:23 pm

Re: Clarisse Python Scripting Tutorial Series

Unread postby dougike » Sun Mar 10, 2019 9:16 am

thank you Sylvain. works! And now I know about IOHelpers :)
dougike
 
Posts: 19
Joined: Sun Aug 31, 2014 6:44 pm

Re: Clarisse Python Scripting Tutorial Series

Unread postby RickToxik » Wed May 29, 2019 3:56 pm

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
RickToxik
 
Posts: 20
Joined: Sun Jul 03, 2016 9:30 pm

Re: Clarisse Python Scripting Tutorial Series

Unread postby deviner » Mon Jun 10, 2019 1:55 am

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

Re: Clarisse Python Scripting Tutorial Series

Unread postby smoory » Tue Mar 10, 2020 4:57 pm

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.
smoory
 
Posts: 1
Joined: Tue Mar 10, 2020 4:47 pm

Re: Clarisse Python Scripting Tutorial Series

Unread postby dboude » Thu Mar 12, 2020 10:39 am

Unfortunately not. We're focusing on other higher priority things...

Thanks for your feedback.
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 1414
Joined: Mon Jul 03, 2017 10:51 am

Previous

Return to General Discussion