addpointで追加されるpointの数

   4213   0   0
User Avatar
Member
92 posts
Joined: Oct. 2018
Offline
皆様、おはようございます。


VEX の「addpoint」を使うときに、10個のpointに対してaddpointを1回実行すると、pointが10個追加されますが、この点についてサポートを求めたところ、次のような回答が得られましたので、報告いたします。

From our developers:
The vexpression is run on each element matched by the Group parameter in conjunction with Group Type. In your example the Group Type is deduced to be “points”, thus the Group parameter matches all the points. Therefore, the vexpression is run on all the points, and there are 10 of them. So `addpoint()` is executed 10 times.
If you precede addpoint() with a conditional `if( i@ptnum == 0)` then it will be executed only for point 0.


なお、釘を刺されてしまいましたので、今後、こちらで質問致したいと思います。

Please understand that Houdini-Apprentice and Houdini-Indie users are only entitled to technical support for installing, or licensing, of the software. For future questions I suggest you post your question on our Houdini Facebook sites, or on the Houdini Forum:


皆様どうぞよろしくお願いいたします。


山里Binbouぽん太
  • Quick Links