pw_Houdini_VEX_Editor icon indicating copy to clipboard operation
pw_Houdini_VEX_Editor copied to clipboard

Failed when I press Ctrl + Enter

Open Leroy-X opened this issue 6 years ago • 5 comments

Hello, when I input this , houdini console tell me failed. float d = @P.x; @P.y = chramp('pulse',d) * ch('amp'); vex

but it is work well when I past it in attribute wrangle. sorry for my bad english. thanks!

Leroy-X avatar Jul 10 '18 02:07 Leroy-X

VEX Editor try to create this parameters, in contrast to the wrangle. This is some bug, because editor create parameter which already exists. I will check but i not planing release new versions or support this VEX editor. After my current project i will start new version of VEX Editor from scratch. Try to disable Auto update parameters on save in Options dialog

paulwinex avatar Jul 10 '18 05:07 paulwinex

Also you can try to sepparate parameter reading;

float x = chramp('pulse', d);
float a = ch('amp');
@P.x = x * a;

Parser try to parse each parameter separately and expect one parameter per string. Maybe it problem.

paulwinex avatar Jul 10 '18 05:07 paulwinex

Wow, very thanks for your reply, I am new start in vex, very glad to see your plan with new editor.

Leroy-X avatar Jul 10 '18 06:07 Leroy-X

I have shared your editor to my friends, it's very handy in ch function. any possible to show function description in future, like the sublime text version. in flow image. sub

Leroy-X avatar Jul 10 '18 06:07 Leroy-X

Yes, its posible

paulwinex avatar Jul 10 '18 08:07 paulwinex