Thread Previous • Date Previous • Date Next • Thread Next |
Zitat von Jan Stránský <honzik.stransky@xxxxxxxxx>:
Hello Christian, sorry if I misunderstood your question, but would you like to achieve this? Yade [1]: b = utils.sphere((1,1,1),1) Yade [2]: O.bodies.append(b) -> [2]: 0 Yade [3]: b.extra = 4 Yade [4]: b.extra -> [4]: 4 Yade [5]: b.extra = Vector3(1,2,3) Yade [6]: b.extra -> [6]: Vector3(1,2,3) Jan
Right, but b.extra is not stored, when calling O.save() ... It should be carried in c++ structure, right?
Thread Previous • Date Previous • Date Next • Thread Next |