Question #703419 on Yade changed:
https://answers.launchpad.net/yade/+question/703419

Jan Stránský proposed the following answer:
Have a look at documentation [1].

If it should be array of Vector3r, then it must have different type then 
Vector3r, the easiest is probably vector<Vector3r>
The name must be valid C++/python variable name (i.e. without brackets).

Or you can make it C++ only, and then expose the name as a property as
e.g. state.pos [2]

Or ... many more options, depending on your needs.

Cheers
Jan

[1] https://yade-dem.org/doc/prog.html#yade-class-base-doc-macro-family
[2] https://gitlab.com/yade-dev/trunk/-/blob/master/core/State.hpp#L87

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to