yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #03053
Re: Material properties
2010/5/14 Anton Gladky <gladky.anton@xxxxxxxxx>
> One more question:
>
> why, if created 2 materials, we have actually 3. With indexes 0,1,2?
>
Sorry, all is ok with indexes
>
> O.bodies[i].material=O.material[newIndex] will be better?
>
> Thanks
> ______________________________
>
> Anton Gladkyy
>
>
> 2010/5/14 Anton Gladky <gladky.anton@xxxxxxxxx>
>
> Hi, all!
>>
>> Can I change the O.bodies.material, after the body has been created?
>> O.bodies.material.id=anotherValue - will it work?
>>
>> Thank you
>> ______________________________
>>
>> Anton Gladkyy
>>
>
>
References