达 风
达 风
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
How to call folderType is TabbedMultiparmBlock? Feb. 28, 2015, 2:17 a.m.
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? Jan. 27, 2015, 2:10 a.m.
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? Jan. 24, 2015, 10:20 a.m.
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?