thomas.waldinger
thomas.waldinger
About Me
Connect
LOCATION
Not Specified
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
global var in expression 2006年7月24日9:32
there's a example at:
hdox/houdini/content/commands/guide/hscript_lang.html
this should do what you expected:
string strvar = “${globalvar}”+i;
btw. is there a need to have enumerated global variables?
as you can get the values of each just by entering $VarName in a Parameter.
hdox/houdini/content/commands/guide/hscript_lang.html
this should do what you expected:
string strvar = “${globalvar}”+i;
btw. is there a need to have enumerated global variables?
as you can get the values of each just by entering $VarName in a Parameter.
hscript command to get last prim selection 2006年7月23日14:48
is there a expresion or hscript command that returns the selected Primitives of the previous operater?
similar to what the group-selection pulldown menu does, if you select Primitive Selection.
i would find it usefull to keep the downstream nodes updated, when doing lots of PolyExtrudes,
and later change the division of the source Geometry.
any hints on this ?
similar to what the group-selection pulldown menu does, if you select Primitive Selection.
i would find it usefull to keep the downstream nodes updated, when doing lots of PolyExtrudes,
and later change the division of the source Geometry.
any hints on this ?
hscript in apprenctice 2006年7月21日19:57
in the meantime you could use a script like this.
it's written on the fly, so excuse me if it's not that elegant.
# opaddglobal.cmd
if ($argc > 2) then
shift
set newDir = $arg0
set dirExist = `opexist($newDir)`
if ($dirExist == 1) then
shift
set oldDir = `run(“pwd”)`
cd $newDir
set op = $arg0
shift
while ($arg0 != “”)
opadd $op $arg0
shift
end
cd $oldDir
else echo Dir does not exist
endif
else
echo usage oppaddglobal.cmd
endif
it's written on the fly, so excuse me if it's not that elegant.
# opaddglobal.cmd
if ($argc > 2) then
shift
set newDir = $arg0
set dirExist = `opexist($newDir)`
if ($dirExist == 1) then
shift
set oldDir = `run(“pwd”)`
cd $newDir
set op = $arg0
shift
while ($arg0 != “”)
opadd $op $arg0
shift
end
cd $oldDir
else echo Dir does not exist
endif
else
echo usage oppaddglobal.cmd
endif