导出细节时会弹出Microsoft.NET Framework报错

老师,您好,今天发现有两个问题

①在选中构件打开“细节”功能,点击导出时会弹出如下警告

②在细节功能下,滑块往右移动时会弹出“无法显示轴网中指定的内容”,不过在此模型中似乎是没有添加轴网的。

其中,第一个问题在之前是没有出现的,第二个关于轴网的警告在以前也有,只是忽略了。

无法显示轴网中指定的内容。
User Supplied Message: 无法显示轴网中指定的内容。
A InvalidCastException was thrown: System.InvalidCastException: 无法将类型为“System.Double”的对象强制转换为类型“System.String”。
   在 Bentley.DgnPlatformNET.DgnEC.DgnNativeBackedECDInstance.GetStringValue(ECDValue propertyValue)
   在 Bentley.ECObjects.Instance.ECDStringValue.TryGetNativeValue(Object& nativeValue)
   在 Bentley.EC.Controls.ECPropertyValueEditorControl.InitializeControl(IECPropertyValue ecPropertyValue, PropertyDescriptor pd)
   在 Bentley.EC.Controls.ECPropertyValueEditorControl.InitializeControl(IECPropertyValue ecPropertyValue)
   在 Bentley.EC.Controls.ECPropertyValueEditorControl..ctor(IECPropertyValue ecPropertyValue)
   在 Bentley.EC.Controls.FeaturePropertyFieldDefinition.GetValueAt(Int32 rowIndex)
   在 Bentley.EC.Controls.ColumnDefinition.GetValueAt(Int32 aindex)
   在 Bentley.EC.Controls.FlexGridControl.HandleGridQueryCellInfo(DataGridViewCellValueEventArgs e)
   在 Bentley.EC.Controls.FlexGridControl.HandleGrid_QueryCellInfo(Object sender, DataGridViewCellValueEventArgs e)
    FROM   - (Bentley.DgnPlatformNET.DgnEC.DgnNativeBackedECDInstance, Bentley.DgnPlatformNET, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4bf6c96a266e58d4)
    DLL    - C:\Program Files\Bentley\OpenBuildings CONNECT Edition\OpenBuildingsDesigner\Bentley.DgnPlatformNET.dll

Caught by (Bentley.EC.Controls.FlexGridControl+<>c__DisplayClass147_0, Bentley.EC.Controls3, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4bf6c96a266e58d4)
    METHOD - Void <HandleGrid_QueryCellInfo>b__0()
    DLL    - C:\Program Files\Bentley\OpenBuildings CONNECT Edition\OpenBuildingsDesigner\Assemblies\ECFramework\Bentley.EC.Controls3.dll
   在 Bentley.DgnPlatformNET.DgnEC.DgnNativeBackedECDInstance.GetStringValue(ECDValue propertyValue)
   在 Bentley.ECObjects.Instance.ECDStringValue.TryGetNativeValue(Object& nativeValue)
   在 Bentley.EC.Controls.ECPropertyValueEditorControl.InitializeControl(IECPropertyValue ecPropertyValue, PropertyDescriptor pd)
   在 Bentley.EC.Controls.ECPropertyValueEditorControl.InitializeControl(IECPropertyValue ecPropertyValue)
   在 Bentley.EC.Controls.ECPropertyValueEditorControl..ctor(IECPropertyValue ecPropertyValue)
   在 Bentley.EC.Controls.FeaturePropertyFieldDefinition.GetValueAt(Int32 rowIndex)
   在 Bentley.EC.Controls.ColumnDefinition.GetValueAt(Int32 aindex)
   在 Bentley.EC.Controls.FlexGridControl.HandleGridQueryCellInfo(DataGridViewCellValueEventArgs e)
   在 Bentley.EC.Controls.FlexGridControl.HandleGrid_QueryCellInfo(Object sender, DataGridViewCellValueEventArgs e)
Caught:
   在 Bentley.EC.Controls.FlexGridControl.<>c__DisplayClass147_0.<HandleGrid_QueryCellInfo>b__0()
   在 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   在 System.Windows.Forms.Control.InvokeMarshaledCallbacks()
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.UserControl.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   在 System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   在 System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   在 System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   在 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ScrollBar.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   在 wWinMainCRTStartup()
   在 wWinMainCRTStartup()

Parents Reply Children
No Data