[Sidefx-houdini-list] dopfield() function

François Duchesneau sidefx at trinix.ca
Fri Oct 19 09:10:02 EDT 2007


Yes, that's a good DVD. The book "Magic of Houdini" is also not only an 
overview of the whole package but also have a very good "under the hood" 
explanation of rigid bodies.

The other François ;)

Francois-Xavier Boussard wrote:
> Hello
>
> You can find a lot in "houdini rigid body DVD", from C. Zerouni.
>
> A basic example :
>
> dopfield("/obj/dopnet1", "rbdobject1", "Position", "Options", 0, "ry")
> /obj/dopnet1 is the first branch
> rbdobject1 the second one
> Position the third branch, data name
> Option the forth branch, recordType, in the Position branch
> 0 is the record num there is only one in position see below
> ry is the properties name you ask.
>
> record num make sense if you try to access impacts for example:
> At the Impacts record type in the detail view there will be an impact record
> option. There you will have a spreadsheat, each line is accessible with
> recordNum then each column with fieldName
> eg:
> dopfield("/obj/dopnet1", "rbdobject1", "Impacts", "Impacts", 0, "positionx")
>
> you can do some test in the textport using to display tour data.
> echo `dopfield("/obj/dopnet1", "rbdobject1", "Impacts", "Impacts", 0,
> "positionx")`
>
> hope this help
> Francois
>
>
>
> Selon Oodini <svdbg at free.fr>:
>
>   
>> Hello,
>>
>> In the help, the dopfield() prototype is :
>>
>> dopfield(dop, objectSpec, subDataName, recordType, recordNum, fieldName)
>>
>> But the recordType and recordNum are not described at all.
>>
>> Would it be possible to get some info about them ?
>>
>> Thanks.
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
>>     
>
>
> _______________________________________________
> 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