Davide Mella
wlvl_r
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Performance Monitor / Python Workflows June 4, 2025, 5:19 a.m.
Hello!
Any news regarding this?
I'm trying to:
start the performance monitor pre-render
cache a sim with the filecacher
stop the performance monitor and save it to disk
Any news regarding this?
I'm trying to:
start the performance monitor pre-render
cache a sim with the filecacher
stop the performance monitor and save it to disk
#PRE-RENDER SCRIPT import os import hou rop = hou.pwd() node = rop.parent() # print(node) profile_name = "profile_"+node.name() # Start a new profile. # The profile automatically starts recording. profile = hou.perfMon.startProfile(profile_name) #POST-RENDER SCRIPT import os import hou rop = hou.pwd() node = rop.parent() # print(node) profile_name = "profile_"+node.name() profile = hou.perfMon.activeProfile() print(profile) # Stop the profile. # The profile automatically generates statistics for the recorded events. # You can now view the profile statistics in the Performance Monitor panetab. profile.stop() # Print the profile statistics in JSON format. print(profile.stats()) # Save the profile to disk. profile.save(profile_name)
Why is a node recooked when duplicating/alt-dragging it? April 25, 2025, 5:22 a.m.
A solution might hide in a script in the network event handler
https://www.sidefx.com/docs/houdini/hom/network.html#examples [www.sidefx.com]
From Sidefx developers:
I don't think there's a way to do this reliably. You could indeed try to add an event handler to intercept the generic mouseup event to tweak the behavior, but you'd have to make sure it's only applied to a specific case (e.g., uievent.modifierstate.alt is True as well as the network editor determines it's a duplicate action).
I haven't had the time to test this yet, but will post results if I achieve it.
https://www.sidefx.com/docs/houdini/hom/network.html#examples [www.sidefx.com]
From Sidefx developers:
I don't think there's a way to do this reliably. You could indeed try to add an event handler to intercept the generic mouseup event to tweak the behavior, but you'd have to make sure it's only applied to a specific case (e.g., uievent.modifierstate.alt is True as well as the network editor determines it's a duplicate action).
I haven't had the time to test this yet, but will post results if I achieve it.
Extract all instances in the hierarchy - Solaris April 24, 2025, 12:05 p.m.
I am experiencing a weird behaviour on the Modify Point Instances Lop (modifypointinstances)
in Houdini 20.5 VS 20.0
The same USD file works as expected on H 20.0.653 and does not in H 20.5.332
Attached a few screenshots of the expected vs not behaviour.
Attached also an example hip of what im doing ( no usd provided )
Unfortunately I cannot provide the usd file as is part of production.
I am still trying to create a new USD test file that replicate the situation but so far no luck
Any pointers on what could cause this is highly appreciated. Thanks!
PS. seems like something is messing up the id matching which causes both the transformation and the deletion of the instances to fail
in Houdini 20.5 VS 20.0
The same USD file works as expected on H 20.0.653 and does not in H 20.5.332
Attached a few screenshots of the expected vs not behaviour.
Attached also an example hip of what im doing ( no usd provided )
Unfortunately I cannot provide the usd file as is part of production.
I am still trying to create a new USD test file that replicate the situation but so far no luck
Any pointers on what could cause this is highly appreciated. Thanks!
PS. seems like something is messing up the id matching which causes both the transformation and the deletion of the instances to fail