PDA

View Full Version : import the lookup table from a text file?



lcamara
2005-06-04, 02:31 AM
Is there a way to import the lookup table from a text file? I have several situations where I'm using a text file as input data for a LISP routine. I'd like to be able to use that data in dynamic blocks without having to manually enter (then check) all the values.

I realize I could probably look at the entity definition, then use a little LISP to create the dynamic block, but it would be nice to have a little "import" button in the user interface. For that matter, an "export" button would be good.

Is there a way to do this that I'm missing?

Lionel

mark.62793
2005-06-05, 01:05 AM
Ya I'm with you on this one. Unfortunately i don't think you can. And I'm not sure you can build lookup tables from Lisp either? Since its in its own dialog box.

lcamara
2005-06-06, 05:31 PM
I would assume you can create/modify the block definition with (entmake ...) or (entmod ...) just like any other object.

mark.62793
2005-06-07, 01:59 AM
Ya I know you can add objects through ENTMOD but not sure about the table properties? If you figure it out please let us know..