Error exporting to LandXML: Unrecognized Guid format

Product(s): StormCAD, CivilStorm, SewerGEMS, SewerCAD
Version(s): CONNECT Edition
Area: Modeling

Problem

When exporting a model to LandXML, the following error occurs:

07/28/2020 10:59:57.96 System.FormatException: Unrecognized Guid format.

at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid..ctor(String g)
at Haestad.StormSewerProduct.Support.File.Export.LandXML.StormSewerProductLandXMLConduitExporter.InitializeCatalogConduitData(Int32 catalogConduitID)
at Haestad.StormSewerProduct.Support.File.Export.LandXML.StormSewerProductLandXMLConduitExporter.LoadConduitShapeData()
at Haestad.StormSewerProduct.Support.File.Export.LandXML.StormSewerProductLandXMLConduitExporter.LoadData()
at Haestad.StormSewerProduct.Support.File.Export.LandXML.LandXmlDomainElementExporter.Export()
at Haestad.StormSewerProduct.Support.File.Export.LandXML.StormSewerProductLandXMLExporter.ExportLinks()
at Haestad.StormSewerProduct.Support.File.Export.LandXML.StormSewerLandXmlExporter.ExportDomainElements()
at Haestad.StormSewerProduct.Support.File.Export.LandXML.StormSewerProductLandXMLExporter.ExportDomainElements()
at Haestad.StormSewerProduct.Support.File.Export.LandXML.StormSewerProductLandXMLExporter.Export(IDomainDataSet domainDataSet, String fileName, UnitSystemIndex systemIndex, IStormSewerProject proj, String engine)
at Haestad.StormSewerProduct.Application.StormSewerProductParentFormUIModel.ExportLandXml(IDomainDataSet dataSet, String fileName, UnitSystemIndex systemIndex, IStormSewerProject project)
at Haestad.StormSewer.Application.StormSewerParentFormUIModelBase.SaveLandXML(String& fileName, Object param, SaveOptions options)
at Haestad.ProjectWiseFacade.SaveFileWrapper.ShowPrompt(IWin32Window owner, SaveDelegate saveDelegate, Object saveParam)
at Haestad.StormSewer.Application.StormSewerParentFormUIModelBase.ExportLandXmlFile()
at Haestad.StormSewer.Application.StormSewerParentFormUIModelBase.ExecuteCommand(CommandType commandType, Object data)
at Haestad.StormSewerProduct.Application.StormSewerProductParentFormUIModel.ExecuteCommand(CommandType commandType, Object data)
at Haestad.Drawing.UI.Integration.Support.Commands.RibbonCommand.Execute(Object parameter)
at Haestad.Framework.UI.Integration.RibbonUICommand.InvokeCommand(Object parameter)

Solution

This issue is typically related to an issue where the "Size (Display)" field is blank when using a "Catalog Conduit" option for the Conduit Type property field. 

If you need to use a catalog conduit (such as for the constraint based design feature), browse to the Conduit Catalog (Components > Catalog > Catalog > Conduit Catalog). Delete any catalog conduits and create it again. Then try setting the size in the conduit properties or flextables. 

Alternative, you can use the "User Defined Conduit" option in the Conduit Type property field. 

Once this is done, you should be able to export the LandXML.

This issue has been filed to be resolved in a future release of the storm-sewer products, with the reference number #419750

Recommended
Related