+ preparation for external geometry constraints in the sketcher
+ change value of H_Axis and V_Axis constants + external Geometry transferred in reverse order from SketchObject to Sketch + replace construction property with external property in GeoDef + support negative geometry indices in the Sketch class + whitespace and variables naming improvements, typo fixes git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5340 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
@@ -152,7 +152,7 @@ PyObject* SketchObjectPy::addExternal(PyObject *args)
|
||||
}
|
||||
|
||||
// add the external
|
||||
if (this->getSketchObjectPtr()->addExternal(Obj,SubName)) {
|
||||
if (this->getSketchObjectPtr()->addExternal(Obj,SubName) < 0) {
|
||||
std::stringstream str;
|
||||
str << "Not able to add external shape element";
|
||||
PyErr_SetString(PyExc_ValueError, str.str().c_str());
|
||||
|
||||
Reference in New Issue
Block a user