Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batch convert DWG to LandXML

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
abi3D
2309 Views, 3 Replies

Batch convert DWG to LandXML

Hello, does anybody know how to batch export civil 3D DWGs to LandXML files?

 

I've some hundreds of DWGs with DTM points, contours and breaklines, each corresponding to a grid with 1sq km. Now I am told to convert them into LandXML (v 1.2) files, but I can't see any batch option to do this. Any help would be appreciated. Thanks!

 

3 REPLIES 3
Message 2 of 4
antoniovinci
in reply to: abi3D

I fear you can't, because you may export single surfaces to LandXML, and NOT whole drawings, sir.

Message 3 of 4
AllenJessup
in reply to: abi3D

As far as I know. It's not native to Civil 3D. You might be able to write a Script File and call it from a Batch file to do a folder at a time. You can run XML Export from the command line using -AeccLandXMLOut. But if you don't have standard surface names it will be difficult to choose what to export in each file. If you have hundreds of drawings as you said. If might pay to look for a 3rd party programmer to create a custom routine.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 4 of 4
T.Nelson
in reply to: abi3D

  1. Start a new drawing. Attach all the CAD files with Civil 3D objects you want to export as external references (You can select more than one file at a time)
  2. BIND and INSERT each reference file (You can select them all at once and perform this step)
  3. All of the external references will now be blocks so EXPLODE them all (Do not explode more than once)
  4. You should now see all of the Civil 3D objects in your new drawing's Toolspace Propector tab. 
  5. Finally, in the OUTPUT ribbon, select Export to Land XML.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report