Jump to content

map export through lisp


vivekgrs

Recommended Posts

Just drive the "MAPEXPORT" command.

 

Example:

[color=blue][font="Courier New"]
(command "._mapexport" "SHP" "C:\\temp\\test.shp" "_N" "_S" "_LINE" "_ALL" "*" "*" "_N" "_Proceed")
[/font][/color]

 

Your responses may vary....

Link to comment
Share on other sites

  • 3 years later...

Could you please elaborate on which parameter does what? I could find no reference on this, and I'd like to export polygons from topologies.

Link to comment
Share on other sites

Sometimes, the best way to understand what is happening is to manually enter the command (mapexport in this case), and follow the command prompts. The code above does the exact same as you would (potentially) yourself.

Link to comment
Share on other sites

  • 9 years later...

Would anyone have experience in exporting an attribute table via command line? Using the dialogue box, this is on the Data tab, so I am assuming something like this...?

 

(command "._mapexport" "SHP" "C:\\temp\\test.shp" "_N" "_S" "_LINE" "_ALL" "*" "*" "_N" "_D" "MyTableName" "_Proceed")
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...