pass attribut on pack primitive

   1872   1   1
User Avatar
Member
37 posts
Joined: Sept. 2010
Offline
hi,

Is there a way to pass an attribut when packing an object, as the “name” can be retrieved to intrinsic_fragmentname.

One solution that I found is to concat my custom attribut in the name then retrieve it with the opdigit expression. (see the hip)
But the opdigit expression is really slow to evaluate and with a lot pack primitive is not a viable solution.

thank,

papi

Attachments:
intrinsic3.hip (83.4 KB)

http://www.papicrunch.net/GC-houdb/ [papicrunch.net]
User Avatar
Member
245 posts
Joined: Sept. 2011
Offline
Hi there,

Not sure if I understood exactly what you wanted but check the file please.
This is some kind of a cheat.. :roll:

But I dont think you can actually pass an attribute to packed geometry, but usually when you unpack your geometry you should have your attributes before you packed em exactly the way you had em.

Attachments:
packAttributes.hipnc (101.8 KB)

  • Quick Links