Keyur Kanade
Ansys Employee
You may want to explore python for scripting in SpaceClaim. nAlso you can import txt in SpaceClaim as following. nIn SCDM, we can open a text file (*.txt) containing the points coordinates of curves. It will generate automatically the curves.nFrom the menu File > Open, select All Files filter and select a .txt file.nnThe syntax in the file for 2D curves is the following:nnpolyline=falsen1 1.5 2.0n1 1.0 3.2n1 0.5 2.1n2 0.3 4.2n2 4.8 1.9nnThe first column contains the number (ID) of the generated line, the second column the x-coordinate and the third column the y-coordinate.nnThe file format for 3D curve is the following:nnpolyline=falsen3d=truen0 0 1n0 1.5 1.2n1.5 0 2.3n1 1.5 4.2nn1.5 1.2 5.1n2.3 4.2 6.2n5.7 3.1 2.6nnWith the option 3d=true, the different curves are delimited by a linebreak. The first column contains the z-coordinate, the second column the x-coordinate and the third column the y-coordinate of the points.n