How to batch export multiple GIS layers to SHP files?

Hi.

Is there a way to export multiple GIS layers to SHP files instand of doing it one by one from the civil explorer?

mybe with lisp?

I've attached here a simple dwg with 2 gis layers as an exmaple.

Thanks,

Aridzv.

Comments

  • Hi,

    you can try 'GISEXPORT' command, in the 'Select GIS layers' click the '…' button and then select 'Lines' for geometry type, and there you can pick multiple layers at once.

    You could also just select the entities directly.

  • Did not really have a proper dwg to test on but (command "gisexport" ss "" ) seemed to work where (setq ss (ssget)) would be the layer objects you want using a ssget filter. Not sure what to answer for the couple of question asked after command used. Perhaps Lyubov can help.