Mark Wainwright
MWainwright
About Me
Connect
LOCATION
Not Specified
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
splitting and recombining paths in vex. 2018年3月28日7:14
hi all, i`m trying to use split in a wrangle to break up a file path, and then reassemble it with some changes.
ie.. if the original path referenced was
dir/folder/imageseq.$F.tif
i would end up with
dir/folder/imageseq.`expression to replace $F`.tif
as my prim attribute.
so far i have this but note string expression = blah is incorrect and doesnt work -
string expression = “`(round(rand($PR)*chs(”../cop2net1/fileSeq/length“)))`”;
string splitpath = split(chsraw(“../../seq”),“$”“F”);
s@newpath = splitpath+expression+splitpath;
the problem is getting this prim attribute
dir/folder/imageseq.$F.exr
to end up as this this :-
dir/folder/imageseq.`(round(rand($PR)*chs(“../cop2net1/fileSeq/length”)))`.exr
ie.. if the original path referenced was
dir/folder/imageseq.$F.tif
i would end up with
dir/folder/imageseq.`expression to replace $F`.tif
as my prim attribute.
so far i have this but note string expression = blah is incorrect and doesnt work -
string expression = “`(round(rand($PR)*chs(”../cop2net1/fileSeq/length“)))`”;
string splitpath = split(chsraw(“../../seq”),“$”“F”);
s@newpath = splitpath+expression+splitpath;
the problem is getting this prim attribute
dir/folder/imageseq.$F.exr
to end up as this this :-
dir/folder/imageseq.`(round(rand($PR)*chs(“../cop2net1/fileSeq/length”)))`.exr
windows 10 dell all in one 27-7450 houdini slooow! 2017年10月3日6:21
Hi all, I just got around to installing Houdini apprentice on my all in one, and its horrible! (at the mo) the machine should run it just fine, but it takes about 5 minutes (no joke) to lay down a fresh geometry sop.
any hardware/os gurus out there can give me a pointer to find out whats going on?
heres the spec.
210-AEWL Inspiron 7459 1 SR
338-BJTM 6th Generation Intel(R) Core(TM) i7-6700HQ Processor (6M Cache, up to 3.50 GHz) 1 SR
340-ARQE Placemat Win 10(English,Finnish,Swedish,Norwegian,Danish) 1 SR
370-ACDF 16GB (2x8GB) 2133MHz DDR4 Memory 1 SR
400-ANJU 2TB 5400 rpm Hard Drive + 32GB mSATA Solid State Drive 1 SR
490-BCPP NVIDIA(R)GeForce™ 940M 4GB GDDR3 1 SR
cheers,
Mark
any hardware/os gurus out there can give me a pointer to find out whats going on?
heres the spec.
210-AEWL Inspiron 7459 1 SR
338-BJTM 6th Generation Intel(R) Core(TM) i7-6700HQ Processor (6M Cache, up to 3.50 GHz) 1 SR
340-ARQE Placemat Win 10(English,Finnish,Swedish,Norwegian,Danish) 1 SR
370-ACDF 16GB (2x8GB) 2133MHz DDR4 Memory 1 SR
400-ANJU 2TB 5400 rpm Hard Drive + 32GB mSATA Solid State Drive 1 SR
490-BCPP NVIDIA(R)GeForce™ 940M 4GB GDDR3 1 SR
cheers,
Mark
truncating the output of `opinput` 2011年5月22日23:39
Hey all,
is there a way to truncate the output of the opinput expression.. for example..
i have duplicate nodes in my scene..
say called test and test1
in my scene i can only get the opinput from the second node (test1) but i want it to return `test` rahter than `test1` is there any way i can cull the `1`?
cheers,
Mark
is there a way to truncate the output of the opinput expression.. for example..
i have duplicate nodes in my scene..
say called test and test1
in my scene i can only get the opinput from the second node (test1) but i want it to return `test` rahter than `test1` is there any way i can cull the `1`?
cheers,
Mark