When I open the Corridor Ojects in Select Series 4 Dialog and view "Point Control" I immediately get a "System.InvalidCastException: Unable to cast object of type 'Bentley.Civil.Geometry.Model.PointEntity2d' to type 'Bentley.Civil.Geometry.Model.LinearEntity'" I get this error multiple times for as many point controls as I have. Can anyone tell me what I am doing wrong. I have tried re-making dgn files, alignments, etc but nothing is fixing the issue.
I am using Power Geopak 08.11.09.789
Here is the full error:
System.InvalidCastException: Unable to cast object of type 'Bentley.Civil.Geometry.Model.PointEntity2d' to type 'Bentley.Civil.Geometry.Model.LinearEntity'.
at Bentley.Civil.Geometry.Model.LinearEntityNameSet.<GetEntities>d__0.MoveNext()
at Bentley.Civil.Geometry.Presentation.PointControlPropertyProvider.GetSortedPlanElementList(IObjectSpace objectSpace, PointControlType controlType)
at Bentley.Civil.Geometry.Presentation.PointControlPropertyProvider.PlanElementTypeConverter.SetStandardValues(IList values)
at Bentley.Civil.Formatting.StandardValuesTypeConverter.GetStandardValues(ITypeDescriptorContext context)
at System.ComponentModel.TypeConverter.GetStandardValues()
at Bentley.Civil.UI.Controls.TypeEditorControl.CalculateMinWidthOfTypeEditor(Graphics g, Font font, TypeConverter converter, Int32 defaultWidth)
at Bentley.Civil.UI.Controls.TypeEditorControl.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)