Craig Tonks

mrtonks

About Me

Expertise
CG Supervisor
Location
United Kingdom

Connect

Recent Forum Posts

Performance Monitor / Python Workflows Jan. 10, 2020, 2:55 a.m.

Thanks man! Appreciate the reply!

Should of followed up in here; i did talk to sidefx, confirmed the limitations and get this logged as an RFE for extra python functionality so we’ll see if anything comes of that

Performance Monitor / Python Workflows Oct. 15, 2019, 9:08 a.m.

Hey All,

I was dabbling with chucking out a per frame performance monitor file whilst i cache (start, cook geo, stop, save profile). Largely seems to work as expected but theres a few things i'm unsure about:

1. The performance monitor seems to be getting clogged up with all these profiles, i cant see how to purge them once saved? it sounds like
cancel()
would do it but it doesnt look like you can both stop / save the stats and cancel?

2. I wanted to do this accross pre / post frame scripts but i couldnt find how you would reference the profile again if you dont have the variable set in one script like the helps example (
profile = hou.perfMon.startProfile()
). I thought there would be a kind of
hou.perfMon.Profile(profilename).stop()
way of doing this? I also tried active profile but it didnt seem to be quite right

Anyone done workflows with this and got useful tips?

~Craig

Hqueue - Understanding Child Jobs order June 3, 2019, 9:28 a.m.

Hey,

I'm trying to set off file caches that are quite heavy and as such looking at splitting it into jobs. However i cant figure how to make sure it respects order and dependency?

If i have 2 streams of geo rops each ending in a hqueue sim node each, plugged into a merge then a last hqueue sim node i get the correct looking network on Hqueue:
Parent
> Child1
> Child2

However its running to process both the children at the same time and failing.

I also tried with everything in a single tree but that seems very suspect too. Is there something i'm missing? Or a better way of Managing this?

Thanks!

~Craig