<?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: User Work Plane Labels in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5589002#M119339</link>
    <description>That's awesome, I have one last thing I'd like to see if you could do for me if you've got a second. On our drawings all of these work planes represent pillar and colom lines in buidlings. For the "vertical" plane in the model and print you used in your blog, I would like for that value to show up in a ballon. Is this possible?</description>
    <pubDate>Mon, 13 Apr 2015 13:30:29 GMT</pubDate>
    <dc:creator>ASchlaack</dc:creator>
    <dc:date>2015-04-13T13:30:29Z</dc:date>
    <item>
      <title>User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5563857#M119328</link>
      <description>&lt;P&gt;I have work planes in a part that I have named, when I place the part I go to the Display Options tab and click include all user work features so it will bring all of my planes in. Is there a way to have it auto name the planes according to their name in the model? I just want an easier quicker way of naming each one on large models with quite a few planes that I have to bring over.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't matter if it's&amp;nbsp;through iLogic or just a random command to do this, whatever can work will work for me just fine.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2015 18:29:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5563857#M119328</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-03-30T18:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5573198#M119329</link>
      <description>Hi Aaron ,&lt;BR /&gt;&lt;BR /&gt;could you provide the demo files to help me to understand the requirement? In addition, when you said 'Display Options tab and click include all user work features', do you actually mean 'View tab &amp;gt;&amp;gt; Visibility &amp;gt;&amp;gt; Object Visibility ' ? if not, could you also attach a screenshot? Thank you!</description>
      <pubDate>Tue, 07 Apr 2015 06:25:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5573198#M119329</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2015-04-07T06:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5573732#M119330</link>
      <description>Thanks for your reply! I will get those files to you tomorrow, I'm not&lt;BR /&gt;going to be at work today. Again, thanks</description>
      <pubDate>Tue, 07 Apr 2015 13:32:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5573732#M119330</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-04-07T13:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5575403#M119331</link>
      <description>&lt;P&gt;Thanks for your reply and sorry it took me till today to reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for the include user work planes, this is what I meant, it's in the window when you place a view:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="User Work Features.PNG" alt="User Work Features.PNG" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/162601iF5A2F12DD40E8A16/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To start, my part looks like this for an easy example, the planes are all named:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="3D Part.PNG" alt="3D Part.PNG" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/162605i2598D4D2DA720278/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And by turning on the user planes&amp;nbsp;and placing a view it looks like this (the red lines are all of my workplanes I created):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="Unnamed View.PNG" alt="Unnamed View.PNG" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/162603i14F2D4EDCB1CB726/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But what I want is for it to somehow pull the names of each plane from the part itself and look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="View With Names.PNG" alt="View With Names.PNG" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/162604iD1EBA6D5E5BCF27D/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went ahead and attached a dropbox link to a folder with my part I used here if you want it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://www.dropbox.com/sh/tszahij7dvqsyhm/AAA8iO7OOpIVimrXURjW9V2xa?dl=0"&gt;https://www.dropbox.com/sh/tszahij7dvqsyhm/AAA8iO7OOpIVimrXURjW9V2xa?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 11:13:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5575403#M119331</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-04-08T11:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5576065#M119332</link>
      <description>&lt;P&gt;just a quick link to the other thread in case it helps somone from duplicating efforts:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/inventor-general-discussion/user-work-plane-naming/td-p/5560524" target="_blank"&gt;http://forums.autodesk.com/t5/inventor-general-discussion/user-work-plane-naming/td-p/5560524&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:28:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5576065#M119332</guid>
      <dc:creator>Curtis_Waguespack</dc:creator>
      <dc:date>2015-04-08T16:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5576104#M119333</link>
      <description>&lt;P&gt;HiASchlaack,&lt;/P&gt;
&lt;P&gt;I had this code on hand and thought I would post it in case it helps someone work up a solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code is run from a drawing and looks at the model reference (it assumes only one model is referenced in the drawing), and then it displays the names of all of the user workplanes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think what you would want to add to this are these things:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Code to look at a specific drawing view (likely the view selected by the user)&lt;/LI&gt;
&lt;LI&gt;Code to create a sketch associated to that view&lt;/LI&gt;
&lt;LI&gt;Code to find the co-ordinates of the planes? or some other means for the placement of the sketch&lt;/LI&gt;
&lt;LI&gt;Code to write the plane names to text in the sketch and place it at some co-ordinates.&lt;/LI&gt;
&lt;/UL&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 href="http://inventortrenches.blogspot.com" target="_blank"&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;
&lt;PRE&gt;Dim oPartDoc As PartDocument
oPartDoc = ThisDoc.ModelDocument

Dim oSelectSet As SelectSet 
oSelectSet = oPartDoc.SelectSet
oSelectSet.Clear 

'look at the workplane collection 
'and add each workplane to the select set
For Each oWorkPlane In oPartDoc.ComponentDefinition.WorkPlanes
	'skip origin planes
    	If oWorkPlane.IsCoordinateSystemElement = True Then
    	'do nothing 
    	Else
	oSelectSet.Select(oWorkPlane)
	MessageBox.Show(oWorkPlane.Name, "iLogic")
	End If
oSelectSet.Clear 
Next&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:49:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5576104#M119333</guid>
      <dc:creator>Curtis_Waguespack</dc:creator>
      <dc:date>2015-04-08T16:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5576120#M119334</link>
      <description>&lt;P&gt;Thanks for that code! and If anyone else can build off of it that'd be very much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Curtis, that's a really cool but yet odd code to just have on hand. So I'm just curious when you've used that code in a parctical way?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:57:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5576120#M119334</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-04-08T16:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5576288#M119335</link>
      <description>&lt;P&gt;Hi ASchlaack,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Technically I didn't have that exact code on hand, I had a snippet to iterate through all of the workplanes in a model and then turn&amp;nbsp;their visibility off. I simply:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;replaced the&amp;nbsp;visibility line with the message box&lt;/LI&gt;
&lt;LI&gt;replaced the line that looked directly at the model, to make it look at the drawing's referenced model&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I wish I had time to dig into the rest of what you're after, but unfortunately I don't see that happening any time soon.&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 href="http://inventortrenches.blogspot.com" target="_blank"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 18:28:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5576288#M119335</guid>
      <dc:creator>Curtis_Waguespack</dc:creator>
      <dc:date>2015-04-08T18:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5587883#M119336</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Aaron,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wrote a blog for you. Hope it helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/manufacturing/2015/04/add-note-for-centerline-of-work-feature-in-drawing.html" target="_blank"&gt;http://adndevblog.typepad.com/manufacturing/2015/04/add-note-for-centerline-of-work-feature-in-drawing.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 03:46:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5587883#M119336</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2015-04-13T03:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5588494#M119337</link>
      <description>&lt;P&gt;Yes that does, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But...&lt;/P&gt;&lt;P&gt;What do I put into the first line of code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/163443iF5E821039FC3D5DB/image-size/original?v=mpbl-1&amp;amp;px=-1" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*** I got rid of the first and last line of each code and it now works. Is that an ok solution?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 11:12:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5588494#M119337</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-04-13T11:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5588974#M119338</link>
      <description>In default, the codes you write in iLogic is within a  subroutine called 'main' . If you have other functions (subroutine), you must explicitly define the 'main' subroutine .&lt;BR /&gt;&lt;BR /&gt;So, either you put the code body of my demo function to the iLogic window directly, removing the first line and the last line of my demo, e.g.&lt;BR /&gt;&lt;BR /&gt;iLogic Window&lt;BR /&gt;'********&lt;BR /&gt;  Dim oDoc As DrawingDocument&lt;BR /&gt;  ....&lt;BR /&gt;  ....&lt;BR /&gt;  &lt;BR /&gt;'******** &lt;BR /&gt;&lt;BR /&gt;Or, define the 'main' subroutine and copy my demo as another subroutine, say&lt;BR /&gt;&lt;BR /&gt;iLogic Window&lt;BR /&gt;'********&lt;BR /&gt;Sub Main()&lt;BR /&gt;    addDrawingNoteForWorkPlane()&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;Sub addDrawingNoteForWorkPlane()&lt;BR /&gt;  '.....&lt;BR /&gt;End Sub  &lt;BR /&gt; &lt;BR /&gt;  &lt;BR /&gt;'******** &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Apr 2015 13:25:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5588974#M119338</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2015-04-13T13:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5589002#M119339</link>
      <description>That's awesome, I have one last thing I'd like to see if you could do for me if you've got a second. On our drawings all of these work planes represent pillar and colom lines in buidlings. For the "vertical" plane in the model and print you used in your blog, I would like for that value to show up in a ballon. Is this possible?</description>
      <pubDate>Mon, 13 Apr 2015 13:30:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5589002#M119339</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-04-13T13:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5590508#M119340</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you just need to create balloon with the leader points the geometry intent. Please refer to a demo code in API help reference at&lt;/P&gt;
&lt;P&gt;C:\Program Files\Autodesk\Inventor &amp;lt;version&amp;gt;\Local Help\admapi_&amp;lt;version&amp;gt;.chm&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the code sample is [Creation a balloon API Sample&amp;nbsp;&amp;nbsp;]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it is not exactly for your scenario, but you could just borrow some code lines and merge to the demo I created.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 04:29:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5590508#M119340</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2015-04-14T04:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5592794#M119341</link>
      <description>I have got no clue how to combine these codes.</description>
      <pubDate>Wed, 15 Apr 2015 11:07:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5592794#M119341</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-04-15T11:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: User Work Plane Labels</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5594852#M119342</link>
      <description>Hi Aaron,&lt;BR /&gt;&lt;BR /&gt;Sorry, I think I made a mistake. Balloon works only for the drawing curve from the component of an assembly. For a centerline or curve of part, it does not make sense to bind a balloon. &lt;BR /&gt;probably you could attach a sketched symbol, while it is a challenge to have sketched symbol with different text string, instead of creating  specific symbol one by one. &lt;BR /&gt;sorry for not being much help.</description>
      <pubDate>Thu, 16 Apr 2015 12:27:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/user-work-plane-labels/m-p/5594852#M119342</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2015-04-16T12:27:21Z</dc:date>
    </item>
  </channel>
</rss>

