Add non-tree element lists to python bindings.
Fixes #1752. PiperOrigin-RevId: 649405039 Change-Id: Ie0b575a3ec912b773141694397ac2f394bff1227
This commit is contained in:
committed by
Copybara-Service
parent
d831153401
commit
a0945e4b5a
@@ -203,6 +203,7 @@ class mjCModel : public mjCModel_, private mjSpec {
|
||||
// API for access to model elements (outside tree)
|
||||
int NumObjects(mjtObj type); // number of objects in specified list
|
||||
mjCBase* GetObject(mjtObj type, int id); // pointer to specified object
|
||||
mjsElement* NextObject(mjsElement* object, mjtObj type = mjOBJ_UNKNOWN); // next object of specified type
|
||||
|
||||
// API for access to other variables
|
||||
bool IsCompiled() const; // is model already compiled
|
||||
|
||||
Reference in New Issue
Block a user