<?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 check/uncheck override text model box in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/1411290#M162154</link>
    <description>HI! Sorry for my english. How I can check/uncheck the override text model check box in tolerance dialog (for a dimension in a .idw document), in a DLL add in. Is possible, or inventor api not include this possibility. Help me. Thanks.</description>
    <pubDate>Sat, 20 Aug 2005 21:37:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-08-20T21:37:33Z</dc:date>
    <item>
      <title>check/uncheck override text model box</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/1411290#M162154</link>
      <description>HI! Sorry for my english. How I can check/uncheck the override text model check box in tolerance dialog (for a dimension in a .idw document), in a DLL add in. Is possible, or inventor api not include this possibility. Help me. Thanks.</description>
      <pubDate>Sat, 20 Aug 2005 21:37:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/1411290#M162154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-20T21:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: check/uncheck override text model box</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/1411291#M162155</link>
      <description>Unfortunately, the API currently does not support this. This will be &lt;BR /&gt;
addressed in a future release.&lt;BR /&gt;
&lt;BR /&gt;
Sanjay-&lt;BR /&gt;
&lt;BR /&gt;
&lt;ANGELO cester=""&gt; wrote in message news:4934269@discussion.autodesk.com...&lt;BR /&gt;
HI! Sorry for my english. How I can check/uncheck the override text model &lt;BR /&gt;
check box in tolerance dialog (for a dimension in a .idw document), in a DLL &lt;BR /&gt;
add in. Is possible, or inventor api not include this possibility. Help me. &lt;BR /&gt;
Thanks.&lt;/ANGELO&gt;</description>
      <pubDate>Mon, 22 Aug 2005 17:23:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/1411291#M162155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-22T17:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: check/uncheck override text model box</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/1411292#M162156</link>
      <description>...lot of thanks, Sanjay! I began to become crazy!</description>
      <pubDate>Mon, 22 Aug 2005 22:25:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/1411292#M162156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-22T22:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: check/uncheck override text model box</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/3265032#M162157</link>
      <description>&lt;P&gt;I was wondering whether&lt;/P&gt;&lt;P&gt;this functionality is added to 2012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2011 22:36:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/3265032#M162157</guid>
      <dc:creator>Ktelang</dc:creator>
      <dc:date>2011-12-15T22:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: check/uncheck override text model box</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/3265084#M162158</link>
      <description>&lt;P&gt;Hi Ktelang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was added at some point.&lt;/P&gt;&lt;P&gt;You can find an example using ilogic to look at these properties here:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://inventortrenches.blogspot.com/2011/06/using-ilogic-to-find-dimension.html"&gt;http://inventortrenches.blogspot.com/2011/06/using-ilogic-to-find-dimension.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;BR /&gt;Best of luck to you in all of your Inventor pursuits,&lt;BR /&gt;Curtis&lt;BR /&gt;&lt;A target="_blank" href="http://inventortrenches.blogspot.com"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2011 23:15:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/3265084#M162158</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2011-12-15T23:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: check/uncheck override text model box</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/3265874#M162159</link>
      <description>&lt;P&gt;Thanks Curtis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually I am trying to override a modelvalue&lt;/P&gt;&lt;P&gt;by scalefactor 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say modelvalue is 39" I want override display value as&lt;/P&gt;&lt;P&gt;the result of 39*3 =117"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can you take a look at the code below, I am stuck&lt;/P&gt;&lt;P&gt;at the oLenDim.OverrideModelvalue= Modval&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not dispalying the correct override value in "&lt;/P&gt;&lt;P&gt;I know that inventor default value is in cm I have converted&lt;/P&gt;&lt;P&gt;it to inches.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' Check whether the Drawing document is active document.&lt;BR /&gt;If ThisApplication.ActiveDocumentType &amp;lt;&amp;gt; kDrawingDocumentObject Then&lt;BR /&gt;MsgBox ("Please have the Drawing document open")&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;Dim OrDoc As DrawingDocument, OrDocSheet As Sheet&lt;BR /&gt;Set OrDoc = ThisApplication.ActiveDocument&lt;BR /&gt;Set OrDocSheet = OrDoc.Sheets("Sheet:1")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oLenDim As GeneralDimension, oDLODim As GeneralDimension&lt;BR /&gt;Set oLenDim = OrDocSheet.DrawingDimensions.GeneralDimensions.Item(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'Add some formatted text to all dimensions on the sheet.&lt;/P&gt;&lt;P&gt;oLenDim.HideValue = False&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim ModVal As Double, DimScale As Double&lt;BR /&gt;DimScale = 3&lt;BR /&gt;ModVal = oLenDim.ModelValue&lt;BR /&gt;ModVal = ModVal / 2.54&lt;BR /&gt;ModVal = ModVal * 3&lt;BR /&gt;'Debug.Print ModVal&lt;BR /&gt;oLenDim.OverrideModelValue = ModVal&lt;/P&gt;&lt;P&gt;=======================================================================&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2011 16:03:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/3265874#M162159</guid>
      <dc:creator>Ktelang</dc:creator>
      <dc:date>2011-12-16T16:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: check/uncheck override text model box</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/3265902#M162160</link>
      <description>&lt;P&gt;I see the problem in the last 2 steps in the code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Till&amp;nbsp; ModVal = ModVal * 3&lt;BR /&gt;'Debug.Print ModVal&lt;/P&gt;&lt;P&gt;The ModVal = correct as expected&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But during&lt;/P&gt;&lt;P&gt;oLenDim.OverrideModelValue = ModVal&amp;nbsp;&lt;/P&gt;&lt;P&gt;The multiplier #3 is some what treated and converted to inches&lt;/P&gt;&lt;P&gt;so we end up getting the product of ModVal in inches x 3 in inches&lt;/P&gt;&lt;P&gt;(i.e. something around 1.1811)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does Anyone know a way by which I can define a unitless constant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Might be basic but have not done this thing before&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2011 16:17:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/3265902#M162160</guid>
      <dc:creator>Ktelang</dc:creator>
      <dc:date>2011-12-16T16:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: check/uncheck override text model box</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/3265908#M162161</link>
      <description>&lt;P&gt;Nevermind I figured out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub Overridevalue()&lt;BR /&gt;' Check whether the Drawing document is active document.&lt;BR /&gt;If ThisApplication.ActiveDocumentType &amp;lt;&amp;gt; kDrawingDocumentObject Then&lt;BR /&gt;MsgBox ("Please have the Drawing document open")&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;Dim OrDoc As DrawingDocument, OrDocSheet As Sheet&lt;BR /&gt;Set OrDoc = ThisApplication.ActiveDocument&lt;BR /&gt;Set OrDocSheet = OrDoc.Sheets("Sheet:1")&lt;BR /&gt;&lt;BR /&gt;Dim oLenDim As GeneralDimension, oDLODim As GeneralDimension&lt;BR /&gt;Set oLenDim = OrDocSheet.DrawingDimensions.GeneralDimensions.Item(1)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;'Add some formatted text to all dimensions on the sheet.&lt;BR /&gt;&lt;BR /&gt;oLenDim.HideValue = False&lt;BR /&gt;&lt;BR /&gt;Dim ModVal As Double, DimScale As Integer&lt;BR /&gt;DimScale = 3&lt;BR /&gt;ModVal = oLenDim.ModelValue&lt;BR /&gt;ModVal = ModVal * 3&lt;BR /&gt;oLenDim.OverrideModelValue = ModVal&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sharing for others..&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2011 16:18:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/check-uncheck-override-text-model-box/m-p/3265908#M162161</guid>
      <dc:creator>Ktelang</dc:creator>
      <dc:date>2011-12-16T16:18:54Z</dc:date>
    </item>
  </channel>
</rss>

