Hi All
This is probably a very simple one.
How do I get a list of point indices in a prim using hscript ?
point indices in prim (hscript)
5752 14 1- rom12345
- Member
- 22 posts
- Joined: Oct. 2011
- Offline
- Erik_JE
- Member
- 299 posts
- Joined: Jan. 2010
- Offline
- rom12345
- Member
- 22 posts
- Joined: Oct. 2011
- Offline
- Erik_JE
- Member
- 299 posts
- Joined: Jan. 2010
- Offline
- rom12345
- Member
- 22 posts
- Joined: Oct. 2011
- Offline
- Erik_JE
- Member
- 299 posts
- Joined: Jan. 2010
- Offline
http://www.sidefx.com/docs/houdini11.1/expressions/nprims [sidefx.com]
Returns primcount in mesh. Second i don't know in hscript.
Returns primcount in mesh. Second i don't know in hscript.
Drive, monkey, drive!
- zarti
- Member
- 330 posts
- Joined: July 2007
- Offline
rom12345
I'm quite new to this.
so I would appreciate an example if possible.
Also how do I :
get a prim count in a mesh
get a vertex count in a prim
At the moment I need to use Hscript.
hi ,
i don't know why you insist about Hscript , but here you have a Pythonic otl :
this creates a string attribute containing the points of each prim .
controls are minimal ; assign values to only one / to all prims .
optionally( im not sure though )you can execute this python code as a script using Hscript's execute command .
never tried that myself ..
except the things that cannot be seen , nothing is like it seems .
- rom12345
- Member
- 22 posts
- Joined: Oct. 2011
- Offline
many thanx for this.
This thread
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=23623 [sidefx.com]
will explain why I need to use hscript for now.
This thread
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=23623 [sidefx.com]
will explain why I need to use hscript for now.
- rom12345
- Member
- 22 posts
- Joined: Oct. 2011
- Offline
- zarti
- Member
- 330 posts
- Joined: July 2007
- Offline
- rom12345
- Member
- 22 posts
- Joined: Oct. 2011
- Offline
- rom12345
- Member
- 22 posts
- Joined: Oct. 2011
- Offline
- rom12345
- Member
- 22 posts
- Joined: Oct. 2011
- Offline
- zarti
- Member
- 330 posts
- Joined: July 2007
- Offline
- rom12345
- Member
- 22 posts
- Joined: Oct. 2011
- Offline
-
- Quick Links