From 636b26141a1f725e13cea4aec05fd111bcf3148b Mon Sep 17 00:00:00 2001 From: Nicholas Bianco Date: Tue, 22 Oct 2024 14:43:22 -0700 Subject: [PATCH] Add Python binding to getName() --- python/_nimblephysics/biomechanics/SubjectOnDisk.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/_nimblephysics/biomechanics/SubjectOnDisk.cpp b/python/_nimblephysics/biomechanics/SubjectOnDisk.cpp index 6e13db8e8..942e1efc5 100644 --- a/python/_nimblephysics/biomechanics/SubjectOnDisk.cpp +++ b/python/_nimblephysics/biomechanics/SubjectOnDisk.cpp @@ -876,6 +876,9 @@ Note that these are specified in the local body frame, acting on the body at its "setName", &dart::biomechanics::SubjectOnDiskTrial::setName, ::py::arg("name")) + .def( + "getName", + &dart::biomechanics::SubjectOnDiskTrial::getName) .def( "setTimestep", &dart::biomechanics::SubjectOnDiskTrial::setTimestep,