Salome HOME
Use GEOM_Object_var instead of GEOM_Object_wrap for obj returned by GetMainShape()