Hello, you can try (no tested) :
void
PlugIn_InitSensor::Run()
{
Core::SetOf<DEM::ElementT<Shape::Polyhedron>>& leftSet = Core::SetOf<DEM::ElementT<Shape::Polyhedron>>::Get("Reading");
auto& el =leftSet(0);
Util::Sensor::New(el, &DEM::ElementT<Shape::Polyhedron>::Position, "Position");
Util::Sensor::New(el, &DEM::ElementT<Shape::Polyhedron>::Force, "Force");
Util::Sensor::New(el, &DEM::ElementT<Shape::Polyhedron>::Quaternion, "Rotation");
Util::Sensor::New(el, &DEM::ElementT<Shape::Polyhedron>::LinearVelocity, "Velocity");
Util::Sensor::New(el, &DEM::ElementT<Shape::Polyhedron>::LinearAcceleration, "Acc");
Util::Sensor::New(el, &DEM::ElementT<Shape::Polyhedron>::Force, "Force");
}
see : "granoo/tags/2.0/Lib/GranOO/libPhysic/Particle.hpp" file