Odcl_ReadCSV

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > External files >

Odcl_ReadCSV

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_ReadCSV

This function will read CSV files or any notepad separated text file.

First Parameter

CSV file ors NotePad separated text file

ex: "G:\\MyProject\\equipment.csv"

 

Second Parameter

Separator symbol as string

exx ";"

 

example:

(ODCV_ReadCSV "G:\\MyProject\\equipment.csv" ";")

 

Return Vauue

String List of each lines.

(("2A" "2B" "2C")2("3A" "3B" "3C"))

 

graphic

 

graphic

 

AutoLisp Syntax:

(ODCL_ReadCSV FileName [as snring] symbol [as string])