List with "typeid" - "typename" correspondence?

   1437   2   0
User Avatar
Member
312 posts
Joined: June 2013
Offline
Hi
looking into filtering primitives and doing by indices seems to be easy enough with “typeid”, but one thing I don't seem to find in the docs it's the complete list of all “typeid”s and a corresponding “typename”s
To check, I created a bunch of primitives of the different types I know but there are considerable gaps in the index sequence that make me wonder which cases I'm not considering. So I would like to confirm that from a list.

So I was looking for something like:

0 - None (?)
1 - Poly
2 - NURBCurve



24 - PackedGeometry
25 - PackedDisk
26 - PackedFragment


etc

I'm guessing this is something annoying to have to keep up to date as more types are added, but atm I'm wondering if maybe even in the app files there is something listing them.
Thanks
Edited by probiner - March 19, 2020 00:29:39
User Avatar
Member
7187 posts
Joined: July 2007
Online
houdini command line:
ginfo -P

and to see intrinsics of each primitive type you can run:
ginfo -IP
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
312 posts
Joined: June 2013
Offline
@tamte Thanks, there's lots of stuff to dig up in there, not just for my question.

I do get a nice list, but apparently somewhere between “Metalball” and “Volume” there is an offset of 3 or three entries missing, but, here's the info for someone else that might be looking for it.

In a termnial:/opt/hfs18.0.287/bin/ginfo -P, and with some cleanup

0 Null
1 Poly
2 NURBCurve
3 BezierCurve
4 Mesh
5 NURBMesh
6 BezierMesh
7 PasteSurf
8 Circle
9 Sphere
10 Tube
11 Part
12 MetaBall
—————-
– MetaSQuad
– TriFan
– TriStrip
– TriBezier
—————-
20 Volume
21 Tetrahedron
22 PolySoup
23 VDB
24 PackedGeometry
25 PackedDisk
26 PackedFragment
27 PackedAgent
28 PackedDiskSequence
29 AlembicRef
30 PackedUSD


Thanks again!
Edited by probiner - March 19, 2020 12:06:28
  • Quick Links