paulwinex / pw_Houdini_VEX_Editor

Advanced Houdini VEX Editor
150 stars 17 forks source link

Failed when I press Ctrl + Enter #7

Open Leroy-X opened 6 years ago

Leroy-X commented 6 years ago

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!

paulwinex commented 6 years ago

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 commented 6 years ago

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.

Leroy-X commented 6 years ago

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

Leroy-X commented 6 years ago

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

paulwinex commented 6 years ago

Yes, its posible