[Sidefx-houdini-list] Create float attribute in a VOP POP
nvanzutphen at live.com
Fri Sep 23 05:21:36 EDT 2011
Well as far as I know, float(2) doesn't exist. It's a float(1) or a float vector(3). I would define a float vector(3) and just use the first two slots. Not sure if this is a very elegant way, but…
Nick van Zutphen
On Sep 23, 2011, at 11:13 AM, Pablo Giménez wrote:
> 2011/9/22 Nick Zutphen <nvanzutphen at live.com>
>> Hi Pablo,
>> You should be able to use a parameter VOP, it imports any matching (by
>> name) existing attribute. You can also use a parameter VOP to export an
>> attribute, if it exists it will overwrite it, if it doesn't exist it will
>> create it. If you import attribute X using a parameter VOP, set it to export
>> always, copy it and place it at the end of your branch.
>> To keep your parameter interface on the VOPPOP clean, you can check the
>> parameter, that is used for an attribute, as invisible on the parameter VOP.
> Well just trying to do your hack, aan unfortunately seems you cant create a
> flot using a paramterVOP.
> Parameter VOP only overwrite the attribute of name and type match. Because
> it doesnt have to option to create a float it is impossible to match this
> kind of attributes.
> So you end up having two attribute onw is flaot anf the other float.
> Dont know if there is any way to get a workaround for this.
>> Nick van Zutphen
>> On Sep 22, 2011, at 7:36 PM, Pablo Giménez wrote:
>>> I am sure this has been asked before.
>>> I found myself trying to make a VOP POP which modifies the speedlimit
>>> attribute. Problem is that seems I can only create a float attribute
>>> using addAttribute VOP.
>>> So how do you guys create a float attribute inside a VOP POP?
>>> Un saludo
>>> Best Regards
>>> Pablo Giménez
>>> Sidefx-houdini-list mailing list
>>> Sidefx-houdini-list at sidefx.com
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
> Un saludo
> Best Regards
> Pablo Giménez
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list