This commit adds getShape and setShape to TopoShape
This commit is contained in:
committed by
wmayer
parent
5a30a43862
commit
7f4a437cc2
@@ -300,7 +300,7 @@ PyObject* AttachEnginePy::getRefTypeOfShape(PyObject* args)
|
||||
return NULL;
|
||||
|
||||
try{
|
||||
TopoDS_Shape shape = static_cast<Part::TopoShapePy*>(pcObj)->getTopoShapePtr()->_Shape;
|
||||
TopoDS_Shape shape = static_cast<Part::TopoShapePy*>(pcObj)->getTopoShapePtr()->getShape();
|
||||
eRefType rt = AttachEngine::getShapeType(shape);
|
||||
return Py::new_reference_to(Py::String(AttachEngine::getRefTypeName(rt)));
|
||||
} ATTACHERPY_STDCATCH_METH;
|
||||
|
||||
Reference in New Issue
Block a user