How To Access Polygon Count And Set As An Integer Value

   1287   3   0
User Avatar
Member
128 posts
Joined: 9月 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 - 2021年12月6日 11:58:17

Attachments:
forum.PNG (6.4 KB)

User Avatar
Member
681 posts
Joined: 2月 2017
Online
hey VGriffith,

isn`t that simply @numprim.

Cheers
CYTE
User Avatar
Member
670 posts
Joined: 9月 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
128 posts
Joined: 9月 2018
Offline
Thank you, that is it!
  • Quick Links