Knowledge Base
Knowledge BaseSubject: | [Blocker] Cannot delete cable in drawing |
---|---|
Status |
Resolved |
Product | WireCAD v8 |
Product Level | PRO |
Database Type | SQL Server |
Build Number (last 4 digits of version) | 1382 |
Upload | Download! |
Message
A couple of project have an serious issue with cables. I believe i already posted this exception but now it's getting very serious. When I Try to delete a cable, i get this exception:
mscorlib : System.Reflection.TargetInvocationException
Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at WireCAD.MethodInvocation.CallMethodByName(String assemblyName, String targetNameSpaceAndType, String methodName, CallType callType, Object[] args)
at WireCAD.Commands.CommandRouter(CommandInfo ci, Object[] xtraParams)
at WireCAD.Commands.CommandRouter(CommandInfo ci)
at WireCAD.Commands.CommandRouter(String CommandName)
at WireCAD.frmDraw.BaseControl_vdKeyDown(KeyEventArgs e, Boolean& cancel)
at VectorDraw.Professional.Control.VectorDrawBaseControl.RaiseKeyDown(KeyEventArgs e)
at VectorDraw.Professional.Control.VectorDrawBaseControl.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at VectorDraw.Professional.Control.VectorDrawBaseControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
VectorDraw.Generics : System.ArgumentOutOfRangeException
Specified argument was out of the range of valid values.
Parameter name: vdArray:(index < 0 || index >= _size)
at VectorDraw.Generics.vdArray`1.get_Item(Int32 index)
at WireCAD.DrawCableFunctions.GetCableBubbleTexts(vdDocument VD, vdPolyline pline, DrawCableInfo cbi, GripsToInclude gripsToInclude)
at WireCAD.frmDraw.ValidateDeletion(Object sender, Boolean& cancel)
at WireCAD.frmDraw.BaseControl_EraseObject(Object sender, Boolean& cancel)
at VectorDraw.Professional.Control.VectorDrawBaseControl.RaiseEraseObject(Object sender, Boolean& cancel)
at VectorDraw.Professional.Control.VectorDrawBaseControl.OnEraseObject(Object sender, Boolean& cancel)
at VectorDraw.Professional.vdObjects.vdDocument.RaiseOnEraseObject(vdPrimary obj)
at VectorDraw.Professional.vdObjects.vdPrimary.set_Deleted(Boolean value)
at VectorDraw.Professional.vdPrimaries.vdFigure.set_Deleted(Boolean value)
at VectorDraw.Professional.ActionUtilities.vdCommandAction.CmdErase(Object SelSet)
at WireCAD.Commands.Erase(Workspace ws)
I cannot remove the cable in any way!
I added the drawing
mscorlib : System.Reflection.TargetInvocationException
Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at WireCAD.MethodInvocation.CallMethodByName(String assemblyName, String targetNameSpaceAndType, String methodName, CallType callType, Object[] args)
at WireCAD.Commands.CommandRouter(CommandInfo ci, Object[] xtraParams)
at WireCAD.Commands.CommandRouter(CommandInfo ci)
at WireCAD.Commands.CommandRouter(String CommandName)
at WireCAD.frmDraw.BaseControl_vdKeyDown(KeyEventArgs e, Boolean& cancel)
at VectorDraw.Professional.Control.VectorDrawBaseControl.RaiseKeyDown(KeyEventArgs e)
at VectorDraw.Professional.Control.VectorDrawBaseControl.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at VectorDraw.Professional.Control.VectorDrawBaseControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
VectorDraw.Generics : System.ArgumentOutOfRangeException
Specified argument was out of the range of valid values.
Parameter name: vdArray:(index < 0 || index >= _size)
at VectorDraw.Generics.vdArray`1.get_Item(Int32 index)
at WireCAD.DrawCableFunctions.GetCableBubbleTexts(vdDocument VD, vdPolyline pline, DrawCableInfo cbi, GripsToInclude gripsToInclude)
at WireCAD.frmDraw.ValidateDeletion(Object sender, Boolean& cancel)
at WireCAD.frmDraw.BaseControl_EraseObject(Object sender, Boolean& cancel)
at VectorDraw.Professional.Control.VectorDrawBaseControl.RaiseEraseObject(Object sender, Boolean& cancel)
at VectorDraw.Professional.Control.VectorDrawBaseControl.OnEraseObject(Object sender, Boolean& cancel)
at VectorDraw.Professional.vdObjects.vdDocument.RaiseOnEraseObject(vdPrimary obj)
at VectorDraw.Professional.vdObjects.vdPrimary.set_Deleted(Boolean value)
at VectorDraw.Professional.vdPrimaries.vdFigure.set_Deleted(Boolean value)
at VectorDraw.Professional.ActionUtilities.vdCommandAction.CmdErase(Object SelSet)
at WireCAD.Commands.Erase(Workspace ws)
I cannot remove the cable in any way!
I added the drawing
03-November-2016 (11:18 AM)
Ctrl + Del will override the delete validation code.
03-November-2016 (01:21 PM)