Jump to content
vivekgrs

map export through lisp

Recommended Posts

vivekgrs

hi friends,

i want 2 write the lisp porgram for export the dwg into shape file. can anyone help me regard this.

 

regards

vivek

Share this post


Link to post
Share on other sites
rkmcswain

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....

Share this post


Link to post
Share on other sites
M76

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.

Share this post


Link to post
Share on other sites
BlackBox

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.

Share this post


Link to post
Share on other sites
lmorse

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")

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...