From 9b29651c6eb1f49cc5fb8c20983fae2b38b5e712 Mon Sep 17 00:00:00 2001 From: Karl Palmen <karl.palmen@stfc.ac.uk> Date: Mon, 8 Oct 2012 14:53:29 +0100 Subject: [PATCH] Expose Icomponent.getFullName to python re #5659 Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk> --- .../PythonInterface/mantid/geometry/src/Exports/IComponent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Code/Mantid/Framework/PythonInterface/mantid/geometry/src/Exports/IComponent.cpp b/Code/Mantid/Framework/PythonInterface/mantid/geometry/src/Exports/IComponent.cpp index 99ae86ab0eb..de150a15446 100644 --- a/Code/Mantid/Framework/PythonInterface/mantid/geometry/src/Exports/IComponent.cpp +++ b/Code/Mantid/Framework/PythonInterface/mantid/geometry/src/Exports/IComponent.cpp @@ -14,6 +14,7 @@ void export_IComponent() .def("getPos", &IComponent::getPos, "Returns the absolute position of the component") .def("getDistance", &IComponent::getDistance, "Returns the distance, in metres, between this and the given component") .def("getName", &IComponent::getName, "Returns the name of the component") + .def("getFullName", &IComponent::getFullName,"Returns full path name of component") .def("type", &IComponent::type, "Returns the type of the component represented as a string") ; -- GitLab