<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alignment GripOverrule Fatal Error in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/7646330#M19144</link>
    <description>&lt;P&gt;It seems that C3D 2108 does not support overrule of all grips, even AutoCAD object grips.&lt;/P&gt;</description>
    <pubDate>Sat, 23 Dec 2017 16:13:29 GMT</pubDate>
    <dc:creator>Alexey.Terno</dc:creator>
    <dc:date>2017-12-23T16:13:29Z</dc:date>
    <item>
      <title>Alignment GripOverrule Fatal Error</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3743082#M19138</link>
      <description>&lt;P&gt;When you start move after hover on a grip point which created by GripDataCollection.Add(myGripData) in GetGripPoints(Entity entity, GripDataCollection grips, ...) appears Fatal Error: Unhandled e0434353h Exception at fdbebccdh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try Overrule GripPoints for Alignment. For &lt;STRONG&gt;FeatureLine&lt;/STRONG&gt; it works.&lt;/P&gt;&lt;P&gt;Possible, the reason is that &lt;STRONG&gt;Alignment&lt;/STRONG&gt; is AlignmentEntity&lt;STRONG&gt;Collection&lt;/STRONG&gt; and different approach is required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me to solve the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public class GripVectorOverrule : GripOverrule&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // A static pointer to our overrule instance&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; static public GripVectorOverrule theOverrule = new GripVectorOverrule();&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public override void GetGripPoints(Entity entity,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GripDataCollection grips,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; double curViewUnitSize,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int gripSize,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vector3d curViewDir,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetGripPointsFlags bitFlags)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myGripData data = new myGripData();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data.GripPoint = newPoint3d(0.0, 0.0, 0.0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; grips.Add(data);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public class myGripData&amp;nbsp; :&amp;nbsp; GripData&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public bool result;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public myGripData()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = false;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; base.DrawAtDragImageGripPoint = true;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; base.RubberBandLineDisabled = true;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public new bool AutoDelete&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get { return result; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[CommandMethod("Test")]&lt;BR /&gt;public void OverruleStart()&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ObjectOverrule.AddOverrule(RXClass.GetClass(typeof(Alignment)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GripVectorOverrule.theOverrule, true);&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2012 12:21:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3743082#M19138</guid>
      <dc:creator>s.makarov</dc:creator>
      <dc:date>2012-12-27T12:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment GripOverrule Fatal Error</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3748754#M19139</link>
      <description>&lt;P&gt;Hi s.makarov, &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did a quick test using your code snippet in Civil 3D 2013 on Win7 x64.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created a Line and then converted the same to an Alignment using _AeccCreateAlignmentEntities command.&lt;/P&gt;
&lt;P&gt;Tried the GripOverrule code. I didn't see any crash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then created another Alignment using the Alignment creation tool with tangents and curves. I dodn't see any crash on this too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you check these two scenarios at your end ? Is the crash specific to any particular DWG file ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 06:44:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3748754#M19139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-09T06:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment GripOverrule Fatal Error</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3750267#M19140</link>
      <description>&lt;P&gt;Hi ParthaPS!&lt;/P&gt;&lt;P&gt;Thank you for responding to my request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem appears on different computers with different operating systems (Windows 7 x64 SP1, Windows XP x32 SP3) and different versions of the Civil 3D (Civil 3D 2012 SP2.1 x64 (IDSU), Civil 3D 2013 SP1 x32, Civil 3D 2013 SP1 x64).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In attachments the error description from one computer and dump from another computer, and the VS2010 solution, which I use for Civil 3D 2013 SP1 x64. The dump file was too large for this forum, if you need it - I'll break it into several parts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create Alignment using the Alignment creation tool with one tangent, and then I load AlignmentOverrule.dll with NETLOAD and V_PLAN command call in the command prompt. Then I select Alignment and move mouse pointer to the one GripPoint based on 100.0, 100.0, 0.0 position. When I move mouse after hover on GripPoint (sometimes earlier) appears error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's I coding wrong?&lt;/P&gt;&lt;P&gt;Help please.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2013 17:28:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3750267#M19140</guid>
      <dc:creator>s.makarov</dc:creator>
      <dc:date>2013-01-10T17:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment GripOverrule Fatal Error</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3764474#M19141</link>
      <description>&lt;P&gt;Hi Makarov,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry I missed reply this on the &lt;A href="http://adndevblog.typepad.com/infrastructure/2012/08/using-overrule-with-civil-3d-entities.html?cid=6a0167607c2431970b017c35124429970b#comment-6a0167607c2431970b017c35124429970b" target="_self"&gt;post &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you mentioned, this is working on other entities. Actually I tried the same code on Polylines like the Alignment and work fine. You may notice that the grip point of the alignment is a little different, so I'm guessing that this objects are related somehow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll working with some colleagues on Civil 3D engineer team to find a answer for this. Will post the results here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 19:26:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3764474#M19141</guid>
      <dc:creator>augusto.goncalves</dc:creator>
      <dc:date>2013-01-29T19:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment GripOverrule Fatal Error</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3764939#M19142</link>
      <description>&lt;P&gt;Hi Makarov&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately the Alignment object will not support custom grip points with overrule. Sorry for the bad news.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2013 11:32:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3764939#M19142</guid>
      <dc:creator>augusto.goncalves</dc:creator>
      <dc:date>2013-01-30T11:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment GripOverrule Fatal Error</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3769280#M19143</link>
      <description>&lt;P&gt;Dear Sirs!&lt;/P&gt;&lt;P&gt;Thank you for your feedback, but the lack of support for this functionality show the problems in the development of Alignment, or the lack of technical information (documentation), which allows to understand what wrong.&lt;/P&gt;&lt;P&gt;Two objects: Alignment and FeatureLine (have no GripOverrule problems using GripData) inherit one class - Feature, but wrapped different AeccDb ... Add another wrapper GripOverrule. Problems can be much less if be available &amp;lt;*.h&amp;gt; and &amp;lt;*.lib&amp;gt; files for programming using ObjectARX&amp;nbsp; instead of .NET wrappers.&lt;/P&gt;&lt;P&gt;Constant surprises of .NET programming is very tiring. Add to this the need to use COM Interop and all advantages of managed code evaporates. Autodesk is making a mistake by not allowing AEC-ObjectARX. It is strengthening the position of software developers alternative vertical solutions.&lt;/P&gt;&lt;P&gt;Having lost a lot of time to programming AlignmentGripOverrule I was forced to use other facilities with programming to construct the technology design general plans. I was able to build the process chains to simplify the life of engineers, but the problems with corridors generates different thoughts.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 20:14:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/3769280#M19143</guid>
      <dc:creator>s.makarov</dc:creator>
      <dc:date>2013-02-04T20:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment GripOverrule Fatal Error</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/7646330#M19144</link>
      <description>&lt;P&gt;It seems that C3D 2108 does not support overrule of all grips, even AutoCAD object grips.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Dec 2017 16:13:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/alignment-gripoverrule-fatal-error/m-p/7646330#M19144</guid>
      <dc:creator>Alexey.Terno</dc:creator>
      <dc:date>2017-12-23T16:13:29Z</dc:date>
    </item>
  </channel>
</rss>

