<?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 Rule to insert sheet metal thickness in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3902047#M131069</link>
    <description>&lt;P&gt;You are quite welcome&amp;nbsp;&lt;SPAN&gt;Sean, glad we could point you in the right direction. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Btw, it never hurts to have a little error checking:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Dim oDoc = ThisApplication.ActiveDocument
If oDoc.DocumentType = kPartDocumentObject Then 'Confirm part
	If oDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then 'Confirm Sheetmetal
		Try: Stock = iProperties.Value("Custom", "SheetMetalRule") 
			Catch: MsgBox("SheetMetalRule iProperty Doest not exist")
		End Try
	Else 'Confirm Standard
		Stock = iProperties.Material
	End If
	Try: iProperties.Value("Custom", "MaterialInfo") = Stock
		Catch: MsgBox("MaterialInfo iProperty Doest not exist")
	End Try
Else 
	MsgBox("File is not a part")
End If&lt;/PRE&gt;</description>
    <pubDate>Wed, 01 May 2013 19:04:48 GMT</pubDate>
    <dc:creator>jdkriek</dc:creator>
    <dc:date>2013-05-01T19:04:48Z</dc:date>
    <item>
      <title>iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901255#M131053</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my title block I have a material section that pulls to iProperties from the model&lt;/P&gt;&lt;P&gt;One is material, which displays the material used in the model&lt;/P&gt;&lt;P&gt;and the other is manually input by me in the comments section of the model, I typically only use this field for sheet metal description, example, .125 Sheet Metal,&amp;nbsp; this saves me from a drawing view to show thickness only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="iproperty.png" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51748i51E90B3EE40A20E9/image-size/original?v=mpbl-1&amp;amp;px=-1" title="iproperty.png" align="middle" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my sheet metal template I have checked the little box for the thickness model parameter so it will show up as a custom property - model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i can display the thickness parameter anytime the sheet metal base view is placed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue is I want the thickness property to have the following with it "Sheet Metal"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I only want this to appear if the base view is in fact sheet metal, all other parts and assemblies, this field would be blank,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this is what I want when a sheet metal part is placed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="iproperty2.png" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51749iC452250A875B9D14/image-size/original?v=mpbl-1&amp;amp;px=-1" title="iproperty2.png" align="middle" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I want to display when a part is placed:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="iproperty3.png" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51750iE5B48FD58A7E2F8D/image-size/original?v=mpbl-1&amp;amp;px=-1" title="iproperty3.png" align="middle" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I get when anything is placed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="iproperty4.png" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51751iA8A40CCBD53EA81D/image-size/original?v=mpbl-1&amp;amp;px=-1" title="iproperty4.png" align="middle" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sheet Metal shows up because:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="iproperty5.png" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51753iD15AFC01B6A03955/image-size/original?v=mpbl-1&amp;amp;px=-1" title="iproperty5.png" align="middle" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for help for a Rule that will only apply &amp;lt;Thickness&amp;gt; Sheet Metal to my title block only if the base view is in fact a sheet metal part. Is this possible??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 14:07:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901255#M131053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-01T14:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901746#M131054</link>
      <description>&lt;P&gt;Scratch that, this thread was my option B attempt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to get Option A to finally work over &lt;A target="_self" href="https://forums.autodesk.com/t5/Autodesk-Inventor/Sheet-Metal-Gauge-in-Drawing/m-p/3901736#M469286"&gt;here&lt;/A&gt;...which is a much simpler solution!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For curiosity sake though this is what I was working on for a rule to grab thickness, but couldnt quite get there. Anyone know how to pull the Thickness Parameter from a Sheet Metal part and give a result showing &amp;lt;Thickness&amp;gt; Sheet Metal (ex. .125 in Sheet Metal)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;'Sheet Metal Thickness into Title Block if base view is a sheet metal part
&lt;BR /&gt;doc = ThisDoc.Document
customPropertySet = doc.PropertySets.Item("Inventor User Defined Properties")
&lt;BR /&gt;'Make sure SheetMetalThickness property exists
Try
      prop = customPropertySet.Item("SheetMetalThickness")
Catch
      'Assume error means not found
      customPropertySet.Add("", "SheetMetalThickness")
End Try

'Find the filename of the model used in the drawing
If ThisDoc.ModelDocument Is Nothing Then
Goto handleErrors
ElseIf ThisDoc.ModelDocument.DocumentType = kPresentationDocumentObject
Goto handleErrors
Else
modeldocname = IO.Path.GetFileName(ThisDoc.ModelDocument.FullFileName) 
End If

'Find the Thickness of the sheet metal model used in the drawing
SheetMetalThickness = &lt;STRONG&gt;"TEST"&lt;/STRONG&gt; 

'Write the thickness of the model to the SheetMetalThickness custom iProperty.
iProperties.Value("Custom", "SheetMetalThickness") = &lt;STRONG&gt;SheetMetalThickness&lt;/STRONG&gt;

InventorVb.DocumentUpdate()

Exit Sub
handleErrors:
'do nothing 

InventorVb.DocumentUpdate()&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks In Advance!&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 16:24:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901746#M131054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-01T16:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901800#M131055</link>
      <description>&lt;P&gt;You're working &lt;EM&gt;way&lt;/EM&gt; to hard! (to quote JDM &lt;img id="smileylol" class="emoticon emoticon-smileylol" src="https://forums.autodesk.com/i/smilies/16x16_smiley-lol.png" alt="Smiley LOL" title="Smiley LOL" /&gt;)&lt;/P&gt;&lt;P&gt;This is all you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;iProperties.Value("Custom", "SheetMetalThickness") = Thickness &amp;amp; " Sheet Metal"&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 May 2013 16:59:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901800#M131055</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2013-05-01T16:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901821#M131056</link>
      <description>&lt;P&gt;I am slowly becoming to think I was better off without logic! Simply because I know what I want to do, but can never seem to get there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to get the &amp;lt;Sheet Metal Rule&amp;gt; to insert into my titleblock..Great!!&lt;/P&gt;&lt;P&gt;But now, when I create any other Standard Parts (non sheet metal) the material section of my title block will not auto-fill because it is searching for &amp;lt;Sheet Metal Rule&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way for a rule to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;determine if base view is sheet metal or Standard part&lt;/LI&gt;&lt;LI&gt;if sheet metal, apply the &amp;lt;sheet metal rule&amp;gt; custom iproperty from model&lt;/LI&gt;&lt;LI&gt;and if it is a standard part, then apply material and comment iproperty from the model&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;I know i can create 2 different drawing templates, but ideally, I would like to keep just one for all my drawing purposes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There must be a way to determine base view properties, then apply the iproperties based on that??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 17:13:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901821#M131056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-01T17:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901830#M131057</link>
      <description>&lt;P&gt;I, personally, don't like automating from the drawing side. It seems to always get messy. (We can do it that way if neccessary, but it's just not as pretty.)&lt;/P&gt;&lt;P&gt;I would set this up as a rule in the part template that populates a single property field with whatever information you want. We can determine from there whether it's a sheet metal part type or make use of some other means that you prefer to toggle methods of defining the property. From there it's trivial to write whatever data you want to the property.&lt;/P&gt;&lt;P&gt;Let me know exactly what you want and I'll be happy to whip something up for you.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 17:20:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901830#M131057</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2013-05-01T17:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901843#M131058</link>
      <description>&lt;P&gt;I agree with Matt. My ConstructStockNumber iLogic is in the part files. The rule in the sheetmetal template formats one way and the rule(s) in other templates format another way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But you can easily&amp;nbsp;&lt;SPAN style="line-height: 14px;"&gt;determine&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: 14px;"&gt;what type of part is open. Here's an example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim oDoc = ThisApplication.ActiveDocument
If oDoc.DocumentType = kPartDocumentObject Then 'Confirm part
	If oDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then 'Confirm Sheetmetal
		MsgBox("Sheetmetal Format")
		Stock = "PL " &amp;amp; dThickness
	Else 'Confirm Standard
		MsgBox("Standard Format")
		Stock = "PL " &amp;amp; RoundToFraction(dThickness, 1/32, RoundingMethod.RoundUp)  
	End If
iProperties.Value("Project", "Stock Number") = UCase(Stock)
End If&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 May 2013 17:38:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901843#M131058</guid>
      <dc:creator>jdkriek</dc:creator>
      <dc:date>2013-05-01T17:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901844#M131059</link>
      <description>&lt;P&gt;From where I am at now, i think the simplist solution is to create this rule in the drawing template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My workflow is create part or sheet metal part, fill a few iProperties, then once I insert my Base View onto drawing sheet, the drawing sheet is auto-filled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we can make a rule to do this, then I don't have to do anything to my part templates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I know the easiest way to do this is to have 2 separate drawing templates, one that calls out the sheet metal rule property and the other will call out the simple material property, but if possible, I would like to have just one drawing template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!!&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 17:34:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901844#M131059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-01T17:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901852#M131060</link>
      <description>&lt;P&gt;hmm..i am not quite understanding then what it is you mean, in regards to having the rule in the part/sheet metal templates, how would I show the material of either a part or sheet metal component when the base view is inserted into the sheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a standard part, i use the "material" iProperty and "comment" iProperty if more info is require&lt;/P&gt;&lt;P&gt;For Sheet Metal, the custom iProperty "&amp;lt;Sheet Metal Rule&amp;gt; "is used to relay what size and material of sheet metal is used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't quite understand how to make the rules in the modeling templates apply to my drawing templates.(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 17:43:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901852#M131060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-01T17:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901857#M131061</link>
      <description>What John and I are suggesting is that you leave your drawing template how you have it (that is, set to pull a property's value), and use iLogic to populate the value of said property from within the part file. This is simpler (and therefore, more stable) because we're working right where everything is, instead of "reaching through a window" to the part's information.</description>
      <pubDate>Wed, 01 May 2013 17:46:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901857#M131061</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2013-05-01T17:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901871#M131062</link>
      <description>&lt;P&gt;I might be catching on,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in a rough example here, on my drawing sheet I would have a custom iProperty in the titleblock called, lets say "CustomMaterial"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my Standard part template, a rule that would take the material used in the part and apply it to "CustomMaterial"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and within my Sheet Metal template, a rule would take my &amp;lt;Sheet Metal Rule&amp;gt; and apply it to "CustomMaterial"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so what ever part/model is placed onto the drawing sheet the iProperty "CustomMaterial" will populate the material used information to the title block??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or something along these lines?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;either way, if you guys say it is best to leave the drawing sheet, then I will, but I am not sure how to continue either way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 18:01:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901871#M131062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-01T18:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901874#M131063</link>
      <description>&lt;P&gt;When you insert properties into your drawing title block or sketched symbols you can choose where that property comes from. In this case I have written to the Stock Number in the model, so I simply insert that into my drawing block. Which then of course displays automaticly when a view is inserted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="propsformmodel2.PNG" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51809iAEE68C6FE18E8590/image-size/original?v=mpbl-1&amp;amp;px=-1" title="propsformmodel2.PNG" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 18:04:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901874#M131063</guid>
      <dc:creator>jdkriek</dc:creator>
      <dc:date>2013-05-01T18:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901950#M131064</link>
      <description>&lt;P&gt;Ok, for material in a Standard part, I placed the material iproperty and this autofills no problem&lt;/P&gt;&lt;P&gt;but the problem occurs when I drop a sheet metal part, because I want more than just the material to show up,&lt;/P&gt;&lt;P&gt;maybe this image will help explain...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="iproperty6.png" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51816i8B922607E6325BFA/image-size/original?v=mpbl-1&amp;amp;px=-1" title="iproperty6.png" align="middle" /&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 18:21:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901950#M131064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-01T18:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901956#M131065</link>
      <description>&lt;P&gt;Basically, I am avoiding manual input of values such as stock number etc...material is pre-determined by selection in modeling and my sheet metal rules are pre-defined as well in the sheet metal template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 18:23:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901956#M131065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-01T18:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901959#M131066</link>
      <description>I would set this up so that your title block only references the &amp;lt;SheetMetalRule&amp;gt; property (or whatever property your heart desires; the point is one property, not two)&lt;BR /&gt;Then in your part file, you populate that one property with either just the material name, or all of the other info you want using an iLogic rule that looks at whether the part in question is sheet metal or not.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 May 2013 18:25:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901959#M131066</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2013-05-01T18:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901980#M131067</link>
      <description>&lt;P&gt;My thoughts exactly Matt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case MaterialInfo custom iProperty (or whatever you want) in the models will drive the drawing. If it's sheetmetal then it will contain SheetMetalRule custom iProperty else it will contain just the Material.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim oDoc = ThisApplication.ActiveDocument
If oDoc.DocumentType = kPartDocumentObject Then 'Confirm part
	If oDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then 'Confirm Sheetmetal
		Stock = iProperties.Value("Custom", "SheetMetalRule") 
	Else 'Confirm Standard
		Stock = iProperties.Material
	End If
iProperties.Value("Custom", "MaterialInfo") = Stock
End If&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 May 2013 18:37:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3901980#M131067</guid>
      <dc:creator>jdkriek</dc:creator>
      <dc:date>2013-05-01T18:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3902016#M131068</link>
      <description>&lt;P&gt;Thanks Jon and Matt!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Been using Inventor everyday for over a year now and everyday you or someone else shows me something new!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The seems to be working perfectly!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;send me a message if you ever end up in Sudbury, Ontario, I'll buy ya a drink!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 18:50:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3902016#M131068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-01T18:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3902047#M131069</link>
      <description>&lt;P&gt;You are quite welcome&amp;nbsp;&lt;SPAN&gt;Sean, glad we could point you in the right direction. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Btw, it never hurts to have a little error checking:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Dim oDoc = ThisApplication.ActiveDocument
If oDoc.DocumentType = kPartDocumentObject Then 'Confirm part
	If oDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then 'Confirm Sheetmetal
		Try: Stock = iProperties.Value("Custom", "SheetMetalRule") 
			Catch: MsgBox("SheetMetalRule iProperty Doest not exist")
		End Try
	Else 'Confirm Standard
		Stock = iProperties.Material
	End If
	Try: iProperties.Value("Custom", "MaterialInfo") = Stock
		Catch: MsgBox("MaterialInfo iProperty Doest not exist")
	End Try
Else 
	MsgBox("File is not a part")
End If&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 May 2013 19:04:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/3902047#M131069</guid>
      <dc:creator>jdkriek</dc:creator>
      <dc:date>2013-05-01T19:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/5947997#M131070</link>
      <description>&lt;P&gt;All i get is Steel, Mild. Do i need to setup iproperties before?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 18:21:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/5947997#M131070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-11T18:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Rule to insert sheet metal thickness</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/6493266#M131071</link>
      <description>&lt;P&gt;Hello I hope you can help me, I just finished a sheet ire gradually modifying it through a multipurpose form iLogic em. The problem is this, I have in the box are several factors that will automatically fill because and easily schedule (NAME, SCALE, DATE, NO PLANO, ETC), however when a plane of a piece is done it automatically takes the material thereof and copies it to the box (there's no problem) the problem is that when he said assembly is not true for obvious reasons, what I want is to know how to sack the code in iLogic that when it is a this delimiting assembly can say (mixed or not Applicable N / A) through iLogic way or another. Thank you very much, Deputy sheet inventor 2015 version and given me blows to the head and not give how to solve this problem. Cheers Link leaf .....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://a360.co/1M2OoHl" target="_blank"&gt;http://a360.co/1M2OoHl&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;P&gt;&lt;A href="https://forums.autodesk.com/autodesk/attachments/autodesk/120/59353/1/Captura.JPG" target="_blank"&gt;https://forums.autodesk.com/autodesk/attachments/autodesk/120/59353/1/Captura.JPG&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 03:31:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-to-insert-sheet-metal-thickness/m-p/6493266#M131071</guid>
      <dc:creator>xmortium</dc:creator>
      <dc:date>2016-08-11T03:31:28Z</dc:date>
    </item>
  </channel>
</rss>

