Add Attribute VOP question

   3481   2   0
User Avatar
Member
9394 posts
Joined: 7月 2007
オフライン
is there any way to decide whether Add Attribute VOP creates an attribute or not?

i need to expose to user control over whether the new attribute will be float, 3 floats, or vector and since i can't control Type Modifier from outside i have created 3 add Attribute VOPs and tried to switch between them, no luck
all 3 were created
then i try to switch attribute name between name and empty string but the attribute was created even without a name
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
8083 posts
Joined: 7月 2005
オフライン
I think you have to put the Add Attribute VOP inside an If VOP and set it up that way.
User Avatar
Member
9394 posts
Joined: 7月 2007
オフライン
a good old IF condition
i forgot about that one
thanks
Tomas Slancik
CG Supervisor
Framestore, NY
  • Quick Links