Error with MakeVertex
Hello Everyone,
I am trying to build a geometry based on a python numpy array. But when I try to add a vertex I am getting the following error:
p1=geompy.MakeVertex(p,q,r)
File "/global/SciComp/Salome/appli_V6_4_0/bin/salome/geompyDC.py", line 478, in MakeVertex
anObj = self.BasicOp.MakePointXYZ(theX, theY, theZ)
File "/global/SciComp/Salome/appli_V6_4_0/lib/python2.6/site-packages/salome/GEOM_Gen_idl.py", line 518, in MakePointXYZ
return _omnipy.invoke(self, "MakePointXYZ", _0_GEOM.GEOM_IBasicOperations._d_MakePointXYZ, args)
omniORB.CORBA.BAD_PARAM: CORBA.BAD_PARAM(omniORB.BAD_PARAM_WrongPythonType, CORBA.COMPLETED_NO)
where
i is a for loop counter
p=x[i]
q=y[i]
r=z[i]
Could some plese help me out with this.
Thanks,
Mayank
