Hi all, is it possible to export surface or alignment to LandXML from Civil 3D using any API or is it necessary to build LandXML from the scratch?
Hi @Drbohlav,
As far as I know, this is not available in either API (.NET or COM). The documentation (link here) seems to suggest that exporting is possible via COM, but I have not tried myself nor have I seen any example.
This post on the Civil 3D Customization forum is the closest I’ve seen. However, it really isn’t a solution for automating the LandXML export process - it’s just a way to split a single XML file into multiple XML files, one for each surface.
Hi @mzjensen,
I am looking for Python version of this https://adndevblog.typepad.com/infrastructure/2012/12/creating-a-tin-surface-from-landxml-file.html but for TIN Surface export to LandXML.
Hi, I found this: “You can use the COM API to import or export surface data to or from LandXML.” https://knowledge.autodesk.com/support/civil-3d/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/Civil3D-DevGuide/files/GUID-3445C7B8-88CA-40E1-90F1-DCCD1E6E56BB-htm.html
Correct. That is the same as the link above.
Hi @mzjensen, I’ve just installed Camber 4.2.4 but these nodes are not included. Do you know if have been removed from the package installation? Thanks in advance
Nope, they should be there. What version of Civil 3D are you using?
Thanks for the fast reply:
- Civil 3D 2022 Product Version 13.4.201.0
- Dynamo 2.10.1
You’ll need to update to Civil 3D 2022.1 at a minimum.