carl drifter

carldrifter

About Me

Expertise
Freelancer
Location
China
Website

Connect

Recent Forum Posts

regular expression in vop and vex Jan. 6, 2019, 10:06 a.m.

Hi everybody,

I dont under stand the meaning of regular experssion in vop and vex such as regex_find,regex_mach, re_find() refindall() etc.
string s =“abc2”;
s@num1=re_findall(“\\\\\d”, s);
s@num2=re_findall(r“\d”, s);
s@num3=re_findall(R“(\d)”, s);
I know \d means digits but what else? does houdini have some specific pages for this regular expression?

Best wishes

How can I import a string attribute using wrangle Dec. 20, 2018, 12:35 p.m.

Mohanpugaz
You should explicitly tell s@a in your second wrangle then only it works.

s@b = s@a;


You're right,Thanks bro~

How can I import a string attribute using wrangle Dec. 20, 2018, 8 a.m.

Hi,

I can use @var import float/int/vector attribute in wrangle,but I can not imoport string attribute.Does anyone know how to do this in wrangle.

For example:

sphere → wrangle(create a string attribute s@a="houdini”→wrangle2(s@b=@a;) it doesn't work!