How To Access Polygon Count And Set As An Integer Value

   2361   3   0
User Avatar
Member
134 posts
Joined: Sept. 2018
Offline
Hello everyone,

Had a question on how to access the incoming polygon count of an object as an integer that I can access with vex.
Thank you for any help you can give.

Vincent Griffith
Edited by VGriffith - Dec. 6, 2021 11:58:17

Attachments:
forum.PNG (6.4 KB)

User Avatar
Member
803 posts
Joined: Feb. 2017
Offline
hey VGriffith,

isn`t that simply @numprim.

Cheers
CYTE
User Avatar
Member
720 posts
Joined: Sept. 2013
Offline
Also

i@count = nprimitives(0);

https://www.sidefx.com/docs/houdini/vex/functions/nprimitives.html [www.sidefx.com]
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
134 posts
Joined: Sept. 2018
Offline
Thank you, that is it!
  • Quick Links