{"id":161563,"date":"2023-01-25T07:16:20","date_gmt":"2023-01-25T07:16:20","guid":{"rendered":"\/knowledge\/forums\/topic\/how-to-import-points-using-a-file-in-scdm-2\/"},"modified":"2023-07-31T12:35:30","modified_gmt":"2023-07-31T12:35:30","slug":"how-to-import-points-using-a-file-in-scdm-2","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-import-points-using-a-file-in-scdm-2\/","title":{"rendered":"How to import points using a file in SCDM?"},"content":{"rendered":"<p>In SCDM, we can open a text file (*.txt) containing the points coordinates of curves. It will generate automatically the curves.  From the menu File > Open, select &#8220;All Files&#8221; filter and select a .txt file.  The syntax in the file for 2D curves is the following:  polyline=false 1 1.5 2.0 1 1.0 3.2 1 0.5 2.1 2 0.3 4.2 2 4.8 1.9  The first column contains the number (ID) of the generated line, the second column the x-coordinate and the third column the y-coordinate.  The file format for 3D curve is the following:  polyline=false 3d=true 0 0 1 0 1.5 1.2  1.5 0 2.3 1 1.5 4.2   1.5 1.2 5.1 2.3 4.2 6.2 5.7 3.1 2.6  With 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.  If we attempt to import only points, we should leave a linebreak after each coordinate data.   For more details on keywords and text file import option, please refer to the following section of the SCDM help: File Operations > Importing and exporting > Point curve text<\/p>\n","protected":false},"template":"","class_list":["post-161563","topic","type-topic","status-publish","hentry","topic-tag-2019-r1","topic-tag-ansys-spaceclaim-directmodeler","topic-tag-fluid-dynamics","topic-tag-import-export-ascdm"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["23.56.168.180"],"_bbp_last_active_time":["1-24-2023  20:20:19"],"_btv_view_count":["6043"],"siebel_km_number":["2033998"],"product_version":["2019 R1"],"km_published_date":["2013-11-13T18:46:00.000Z"],"family":["Fluid Dynamics"],"application_name":["ANSYS SpaceClaim DirectModeler"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161563\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=161563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}