jim chang
gpss
About Me
Connect
LOCATION
ff,
Not Specified
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
APEX Script: how to debug? 2026年2月9日0:19
edward
#debug method 1
log_node = graph.addNode("mylog","Log")
log_node.setParms({ "formatstring":"{1}" })
log_node.setParms({ "severity":0 })
autoNode.target_out.connect(log_node.args0_in)
autoNode.debug_out.connect(log_node.args_in)
log_node.args0_out.connect(index_l.t_in)
edward, Thank you very much for your response. However, I tried it and it seems that the Log method still doesn't work. Although I can see the messages in the LogViewer, they don't seem to match the ones I want to print. Please take a look at the debug string returned by the compute function, as it is actually different.
def compute(v1:vector3, target:vector3, threshold:float=0.1, blend:float=1.0):
indexl=target
debug = f"threshold value: {threshold}, blend used: {blend}"
return target,debug
APEX Script: how to debug? 2026年2月6日22:08
edward
No hip file attachment?
https://drive.google.com/file/d/1VaDJB6SGQASa4KIdhbenE3u7K9raADfv/view?usp=sharing [drive.google.com]
Debug method 1 didn't work. I found a solution for debug method 2, and it works, but the feature for automatically moving the index finger control doesn't seem to work
APEX Script: how to debug? 2026年2月6日4:09
elovikov
in the meantime this stupid trick can work:Image Not Found
I've attached the hip as well. the only thing is connect the output, even void one
not sure how log callback would be different, but this workflow is a bit painful
I personally think apex engine would benefit from any sort of conventional tagging, like if I'm tagging node (function, subnet, whatever) as traceable it just dump it's inputs and outputs. this alone actually would cover a lot of debugging
I’m facing an issue with debugging in Apex Script when using the Apex Autorig Component. Here’s the scenario:
I’m using the Use Second Input option in the Apex Autorig Component and connecting an Apex Script to the second input.
However, this approach doesn’t seem to work properly, especially with functions inside the Apex Script.
Specifically, I’ve created a function that I plan to add to the network using addSubnet. The issues I’m encountering are:
The Log inside the function does not work.
I intended for the function to return debug_msg and set it as a detail attribute in base.skel. Unfortunately, this doesn’t work either, and the message can’t be saved.
Does anyone have a good method for debugging the function code inside the Apex Autorig Component? Any tips would be highly appreciated.
Additional Notes:
I’ve attached the .hip file for reference.
Even when connecting a void output, the issue persists.
I’m also wondering if there’s a way to tag nodes (such as functions or subnets) as traceable to automatically dump their inputs and outputs for easier debugging. This could really help streamline the debugging process.
Looking forward to your suggestions!