I have an OBJ file which I would like to import into Revit using Dynamo. I only want the coordinates from the file. I want to remove the title, and only keep all the values starting with “v”. The “v” values are the cordinates so I only want to extract these values from the file & create a list showing the points. Once I have obtained the points I can go from there.
I have looked on the forum pages but I cant seem to find where you can remove “lines of text” & not just remove or replace a single character.
I have had to add the OBJ asa text file so you can view whats inside the file but I am unable to upload the actual OBJ file.Dynamo_Obj_Test.txt (2.9 KB)
Thank you for your quick response & answer, The file is originally an .obj file which has been exported from ReCap, I wanted to avoid the extra step of using Excel as I wanted to create directly from what the .obj file generates.
I still don’t know how to replace/remove the text in the string from the file as i only need the “v” values, not the “vn” or “vt”.