<?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: iLogic/Code To Open the &amp;quot;Edit Field Text&amp;quot; Dialog Box native to inv in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855916#M120009</link>
    <description>&lt;P&gt;I'm going to have to try that thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 10 Oct 2015 15:24:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-10T15:24:13Z</dc:date>
    <item>
      <title>iLogic/Code To Open the "Edit Field Text" Dialog Box native to inventor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5519946#M120006</link>
      <description>&lt;P&gt;Is there a way to access the Edit Field Text Dialog Box for various components such as the title block or sketch symbols?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way inventor has it laid out is very nice, so what my code will do is open it up automatically for each page within a drawing document so that the data can be editted easier than having to navigate the browser on every page to accomplish the same thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a specific API to allow us to bring this up, or is it only accessible (if even possible) through a clumsy navigation of the browser nodes using code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, would there be another easy way to bring up a dialog box that has multiple lines for multiple prompted entry blocks?&amp;nbsp;&lt;/P&gt;&lt;P&gt;*I'm guessing using forms would work, but how would I use temporary variables to be input into the form??*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2015 15:07:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5519946#M120006</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2015-02-25T15:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/Code To Open the "Edit Field Text" Dialog Box native to inv</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855878#M120007</link>
      <description>&lt;P&gt;I've used forms to do this except instead of "prompted" on my template I assigned the template to use predetermined "custom", then wrote a rule that triggers so the form pops up.&amp;nbsp; When creating the form make sure the custom properties exist and then you can just drag them into the form creator from the iProperties tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="input.JPG" alt="input.JPG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/193751i5C7B6A253284DCCA/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2015 14:11:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855878#M120007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-10T14:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/Code To Open the "Edit Field Text" Dialog Box native to inv</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855909#M120008</link>
      <description>&lt;P&gt;Thanks for the input!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As it turns out, that method doesn't work for us as we use multiple sheets per idw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I found out how to accomplish what I originally wanted;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just had to iterate through sheets, select the titleblock and then run the EditFieldTextCmd Control definition and it did what I wanted.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2015 15:12:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855909#M120008</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2015-10-10T15:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/Code To Open the "Edit Field Text" Dialog Box native to inv</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855916#M120009</link>
      <description>&lt;P&gt;I'm going to have to try that thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2015 15:24:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855916#M120009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-10T15:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/Code To Open the "Edit Field Text" Dialog Box native to inv</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855935#M120010</link>
      <description>&lt;P&gt;Would you be willing to share how you are able to run EditFieldTextCmd, I'm unable to get it to run.&amp;nbsp; I have used the CommandManager to run DrawingArragneDimensionsCmd but I must be missing something on this one.&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2015 16:08:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855935#M120010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-10T16:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/Code To Open the "Edit Field Text" Dialog Box native to inv</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855936#M120011</link>
      <description>The name of the command might not be exactly that... but you need to have&lt;BR /&gt;the title block selected before you run it</description>
      <pubDate>Sat, 10 Oct 2015 16:09:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5855936#M120011</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2015-10-10T16:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/Code To Open the "Edit Field Text" Dialog Box native to inv</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5907449#M120012</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2511355"&gt;@MechMachineMan﻿&lt;/a&gt;&amp;nbsp;or @Anonymous﻿&amp;nbsp;Can you guide me to the precise syntax for how to activate the "EditFieldTextCmd" or whatever it actually is? thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I programatically select the title block. I am only concerned with the ACTIVE TB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attempted the below code in iLogic but I'm having difficulty finding it since iLogic doesn't have intellisense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ActiveDocument.&lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TitleBlock&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;SPAN&gt;EditFieldTextCmd&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;If you are interested, I actually started with this so it would prompt me for the "SHT_TTL_L1" and "SHT_TTL_L2" prompted entries. However I have a few title blocks with different prompted entries so I think it's more reliable to use the "EditFieldTextCmd".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim oDoc As DrawingDocument = ThisApplication.ActiveDocument
Dim oTB As Inventor.TitleBlock = oDoc.ActiveSheet.TitleBlock
'Exit if Active Sheet does not have a Title Block
If oTB Is Nothing Then Exit Sub

Dim oTextBox As TextBox
Dim oTextBoxes As TextBoxes = oTB.Definition.Sketch.TextBoxes

For Each oTextBox In oTextBoxes
	'Pull existing value from prompt entry.
	sData = oTB.GetResultText(oTextBox)
	If oTextBox.text = "SHT_TTL_L1" Then
		'Prompt for new value
		SHT_TTL_L1 = InputBox(oTextBox.text, oTextBox.text, sData)
		'Reuse existing value if InputBox was canceled
		'NOTE: THIS WILL NOT ALLOW YOU TO ENTER DELETE AN EXISTING VALUE.
		If SHT_TTL_L1 = "" Then SHT_TTL_L1 = sData
		
	ElseIf oTextBox.text = "SHT_TTL_L2" Then
		SHT_TTL_L2 = InputBox(oTextBox.text, oTextBox.text, sData)
		If SHT_TTL_L2 = "" Then SHT_TTL_L2 = sData
		
	End If
Next
'Use existing Title Block and push prompted Entries
ActiveSheet.SetTitleBlock(oTB.Name, SHT_TTL_L1, SHT_TTL_L2)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 19:24:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5907449#M120012</guid>
      <dc:creator>Josh_Hunt</dc:creator>
      <dc:date>2015-11-13T19:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/Code To Open the "Edit Field Text" Dialog Box native to inv</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5909153#M120013</link>
      <description>&lt;P&gt;Here is what you need to read into:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://modthemachine.typepad.com/my_weblog/2009/03/running-commands-using-the-api.html" target="_blank"&gt;http://modthemachine.typepad.com/my_weblog/2009/03/running-commands-using-the-api.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2015 03:05:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5909153#M120013</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2015-11-16T03:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/Code To Open the "Edit Field Text" Dialog Box native to inv</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5914532#M120014</link>
      <description>Enter a body</description>
      <pubDate>Wed, 18 Nov 2015 20:29:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/5914532#M120014</guid>
      <dc:creator>Josh_Hunt</dc:creator>
      <dc:date>2015-11-18T20:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/Code To Open the "Edit Field Text" Dialog Box native to inv</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/10823029#M120015</link>
      <description>&lt;P&gt;The command is actually:&amp;nbsp;DrawingEditFieldTextCmd&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 19:58:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-code-to-open-the-quot-edit-field-text-quot-dialog-box/m-p/10823029#M120015</guid>
      <dc:creator>maxim.teleguz</dc:creator>
      <dc:date>2021-12-14T19:58:49Z</dc:date>
    </item>
  </channel>
</rss>

