Tube XML not created, error Object reference not set to an instance of object shown

Tekla Structures
Not version-specific
Tekla Structures
Environment
Not environment-specific

Question:
When trying to create tube XML file for some of the parts, the following error is shown and the XML file is not created:
ERROR
Creating file...
TubeNC.Export(C:\file location\TubeNC.xml,True)Object reference not set to an instance of an object,
 at HGG.Tekla.Exporter.BooleanExtensions.ConvertToPcdPart(Boolean
boolean)
 at HGG.Tekla.Exporter.BooleanExtensions.AddToProject(Boolean
boolean, Project project, String assemblyName, LicenseMode mode)
 at HGG.Tekla.Exporter.BeamExtensions.ProcessMacrosByBooleans(Beam
beam, Project project, ApplicationSettings settings, LicenseMode mode)
 at HGG.Tekla.Exporter.tekla.CreateXmlAndCalculate(List 1 tubes,
TransformationPlane currentPlane, Boolean generateDataFiles)
 at HGG.TeklaExporter.TeklaExporter.Export(String file, Boolean
exportSelected)
at Tube.Export.ExportDialog.createButton_Click(Object sender, EventArgs
e)

 

Answer:
Reason is the current limitation that tube XML file cannot be created to curved parts. Tube components can be applied to curved parts, but the Tube XML export cannot handle curved parts at the moment.

Was this helpful?