旧草 昭奚

zhaoxijiucao

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Crash when Python create mulyinstanceparm to hdaprocessor1 June 12, 2020, 7:25 a.m.

I use python to translate my image array to hdaprocessor1 (alicevision)
but it crash every time.

how can i fix it?

Python create attribute June 8, 2020, 11:25 p.m.

tpetrick
You can use a Python Script node to set string array attributes. For example:

work_item.setStringAttrib("name", "value", 0)
work_item.setStringAttrib("name", "other_value", 1)
work_item.setStringAttrib("name", "third_value", 2)

If you're on 18.0, you'll probably want to set the Evaluate Script During parameter to “Generate” as well, so the attributes are created during the work item generation step.
Sir,Hou.attribype.global can be translate what type of PDG attributr?

hdaprocessor Problem June 8, 2020, 8:02 a.m.

zhaoxijiucao
zhaoxijiucao
I used HDAprocessor in PDG and called a tool named alicevision in Sidefx labs.
Because of the mechanism problem, I had to check the taggle “manuial mode”
But it did not call the cook method in this HDA.

So I would like to know how to call hda houmodule using hdaprocessor.



I found problem is,even my workitem have diffrent stringarray,pythonscript only callback one time
That mean whatever i have how much workitem, it only work for one result

Cook method is on.
but I still can get only one result(i have two scas data)