Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Point, coordinate, layer in Autocad

Status
Not open for further replies.

topogeocad

Civil/Environmental
Joined
Oct 6, 2008
Messages
1
Location
RO
Hi all,

Is it possible to import a TXT file in AutoCad with the following header:

<PntId> <Noth> <East> <Height> <Code>

in such a way that it draws a point at the specified location and assigns this point to a layer <Code>

Or a script could solve the problem?
Any hint how to do it? or could you point me out to some explanations?

Thank you in advance.
 
sure. use Lisp or VBA to open and parse the file. Or, create the text file so that it says layer set code point x,y,z and add the extension scr to the file then invoke it using the script command.

layer set code
point x,y,z
layer set code
point x,y,z
etc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top