Export to 3d PDF not working

Hello All,

I am not able to export to 3d PDF and am getting the following error:

Unhandled exception occurred:System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at new(UInt64 )
at CADLoader.Definitions.PDFPage.Create3dAnnotation(SByte* modelFilePath, SByte* javaScriptFilePath, Boolean runAnimation, View defaultView, View[] views)
at CADLoader.Definitions.PDFPage.Create3dAnnotation(String fieldName, String modelPath, String javaScriptFilePath, View defaultView, View[] views)
at VisualComponents.UX.Shared.VCPDFReportBuilder.CreateReport(Uri templatePath, Uri recordPath, String layoutName, Point3D layoutPosition, Double layoutFillDistance, IEnumerable`1 componentInfo)
at VisualComponents.UX.Shared.Actions.ExportToPDFAction.ConvertToPdfNormal()
at VisualComponents.UX.Shared.Actions.ExportToPDFAction.ConvertToPdfAndOpen()
at VisualComponents.UX.Shared.Actions.ExportToPDFAction.StopRecording(Boolean save, Boolean endAction)
at VisualComponents.UX.CommandPanel.ExportToPDFViewModel.StopRecordingEx(Boolean save)
at VisualComponents.UX.Shell.AppBootstrapper.OnInvokeAction(ActionExecutionContext context)
at Caliburn.Micro.ActionMessage.Invoke(Object eventArgs)
at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Running the following:
KUKA.Sim 4.0.2.853
Product Version: 4.0.2.2021111604
KUKA Deutschland GmbH, 2021
Original setup: KukaSim_4.0.0(2021-11-10 11-09 53ac5f0ef9).exe
Integrated WorkVisual: WorkVisual_V8.0.0_Build1845

OS Name : Microsoft Windows NT 10.0.22616.0
System Type : 64 Bit Operating System

This is a known issue that happens only in KUKA.Sim 4.0. Contact KUKA support whether they have a workaround.

Thanks for replying so quickly. I will give them a shout.