达 风
达 风
About Me
Connect
LOCATION
Not Specified
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
How to call folderType is TabbedMultiparmBlock? 2015年2月28日2:17
The folder F is a MultiparmBlock(tabs)
I can call the folder
node = hou.pwd()
geo = node.geometry()
parm_group = node.parmTemplateGroup()
folder = parm_group.entries()
print folder.parmTemplates()
But I can't ergodic all parameters through this method.
folder.parmTemplates()
I have some parameters in this folder,but I get this result.
(<hou.IntParmTemplate name='parm#' label='Label' length=1 naming_scheme=Base1 default_value0,)>, <hou.FolderParmTemplate name='f#'
label='F#' folder_type=Tabs>)
I can't find the right method in help document.
Can you help me?
very thanks
I can call the folder
node = hou.pwd()
geo = node.geometry()
parm_group = node.parmTemplateGroup()
folder = parm_group.entries()
print folder.parmTemplates()
But I can't ergodic all parameters through this method.
folder.parmTemplates()
I have some parameters in this folder,but I get this result.
(<hou.IntParmTemplate name='parm#' label='Label' length=1 naming_scheme=Base1 default_value0,)>, <hou.FolderParmTemplate name='f#'
label='F#' folder_type=Tabs>)
I can't find the right method in help document.
Can you help me?
very thanks
How to copy geometry in python? 2015年1月27日2:10
Stalkerx777
grp = geo.createPrimGroup('mygroup')
grp.add(prim)
thanks.but this is not perfect
grp.add(self.prims())
this method can merge itself.
but run this method again,will get four times
I want to get three times or five times.
this method can't do it.
I want copy original prims with the special number and ,put the output to a new group,like Copy SOP in python
How to copy geometry in python? 2015年1月24日10:20
Stalkerx777
In Python SOP:
this_geo = node.geometry()
source_geo = get_geometry_somewhere()
for i in range(10):
new_geo = hou.Geometry()
new_geo.merge(source_geo)
# Do something with new_geo
this_geo.merge(new_geo)
Yes,I can use merge method to copy other sop into it.
But I have new problem.
Box —-> My Python Copy SOP
How can I realize the copy Box some times and Create Output Groups function?
=====================
And can I read the Copy SOP source,then I can get more information?