Search found 5 matches

by Elliot Bladen
Wed Jun 22, 2022 2:18 pm
Forum: General
Topic: Reading a CSV file Macro
Replies: 6
Views: 8457

Re: Reading a CSV file Macro

Thanks mate, I have written some code to get the data out of the CSV. If you have time would be nice to see if I'm on the right track. I haven't included appends to my From_text like your code because I'm not sure what that means. The other thing I'm not sure on was my Pt ID data and how to call tha...
by Elliot Bladen
Wed Jun 22, 2022 10:57 am
Forum: General
Topic: Reading a CSV file Macro
Replies: 6
Views: 8457

Re: Reading a CSV file Macro

Hey Alexander,

Thanks heaps for this!

Do you mind if I grab your text files that you used for this. I'm running through this example now. Will help me out heaps more if I can see the data you used.

Cheers
by Elliot Bladen
Thu Jun 16, 2022 9:58 am
Forum: General
Topic: Reading a CSV file Macro
Replies: 6
Views: 8457

Reading a CSV file Macro

Hello,

Creating a simple macro to read in a CSV with PtID, E, N, Z data.

Got as far as calling the file_read_line function. From their I'm stuck as to how to get the data to come into 12d.

Any help, greatly appreciated
by Elliot Bladen
Wed Jun 15, 2022 11:55 am
Forum: General
Topic: Point/Vertex ID's in Macros
Replies: 3
Views: 5670

Re: Point/Vertex ID's in Macros

Thanks Phil, Appreciate that I have called the function( Get_super_vertex_point_number(Element super,Integer vert,Text &point_id)) However I can't get them to compare properly. How would you name your variables and structure code into getting the function to work. Any pointers/tips would be grea...
by Elliot Bladen
Fri Jun 10, 2022 8:12 am
Forum: General
Topic: Point/Vertex ID's in Macros
Replies: 3
Views: 5670

Point/Vertex ID's in Macros

Hey,

Does any body know what function to call for comparing Point/Vertex ID's in 12d macro language?

I have 2 models. I would like to compare both sets of data by looping through both models and matching their Point/Vertex ID's together.

Cheers,