[Sidefx-houdini-list] Cd in VOP SOP

Louis Dunlevy ld at dneg.com
Mon Mar 31 09:27:14 EDT 2008


the import attribute vop has a success flag. you could pipe that to an 
if subnet containing an add attribute vop

Ben Schrijvers wrote:
> Hi Sean,
>
> I geuss as soon as you connect something to the Cd output inside the VOP 
> Sop it will output Cd.
> Don't think you can do the switch inside the VOP Sop..
> So maybe you need to use an Attribute Sop to delete the Cd attribute and 
> a Switch Sop with expression to do the switch afterward.
> You could use the hasattribute() expression to test if there was a Cd 
> attribute on the input of the VOP Sop.
>
> cheers,
> benS
>
>
> Sean Lewkiw wrote:
>   
>> Hi,
>>
>> Let's say I want to be able to switch between affecting point colours 
>> using a VOP SOP and not affecting point colours.
>>
>> Right now I'm using a switch VOP.  If the geo has no point colours to 
>> begin with, it gets assigned point colours when switched to what I want 
>> to be a null effect.  I can't figure out how you can make a switchable 
>> effect that has no effect if that's what you want.
>>
>> Sean
>>
>>   
>>     
>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>   




More information about the Sidefx-houdini-list mailing list