Hi all, inside a python file, I have: tmplt = Template('vmtkbranchgeometry -ifile $branch_file1 -ofile $branch_geometry_file1') command = tmplt.substitute(branch_file1=branch_file,branch_geometry_file1=branch_geometry_file) myPype = pypes.PypeRun(command)
the result is empty vtp (0 points, 0 cells). I've noticed that some array names are not set, so I've set them: tmplt = Template('vmtkbranchgeometry -ifile $branch_file1 -radiusarray MaximumInscribedSphereRadius -groupidsarray GroupIds -blankingarray Blanking -ofile $branch_geometry_file1') the result is a file with (5 points, 5 cells), but they are meaningless. I am using vmtk 0.9.0 on Win xp, with Python shipped with vmtk. I tried also Pypepad, and got the same. I checked the input file (branch.vtp) and it contains all necessary arrays! many thanks in advance ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ vmtk-users mailing list vmtk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vmtk-users