<?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: Limited bend line - Ilogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/limited-bend-line-ilogic/m-p/9385616#M107860</link>
    <description>&lt;P&gt;Hi! I don't believe there is an out-of-box solution to do that. The request is quite unique. Maybe you can tweak the bend line's linetype to have the similar behavior. But, I am not sure if there is a line type guarantee 15mm offset from the edge.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2020 19:51:03 GMT</pubDate>
    <dc:creator>johnsonshiue</dc:creator>
    <dc:date>2020-03-18T19:51:03Z</dc:date>
    <item>
      <title>Limited bend line - Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/limited-bend-line-ilogic/m-p/9384405#M107859</link>
      <description>&lt;P&gt;Hello, thanks for reading this post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to export my sheet metals to DXF in order to cut on the CNC machine.&lt;BR /&gt;But, when export my sheet metal to DXF, the lines of bend are completed and I want to leave the bend line 15 mm apart from the base line of the piece. There is some command in Ilogic for this? Can someone help me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See exemple in anex.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Picture with bend line completed.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/751860iF5DDCBC49BFD31CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Picture with bend line completed.jpg" alt="Picture with bend line completed.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="picture with bend line limited.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/751861iF96E5B41B2EB4E33/image-size/large?v=v2&amp;amp;px=999" role="button" title="picture with bend line limited.jpg" alt="picture with bend line limited.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 10:44:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/limited-bend-line-ilogic/m-p/9384405#M107859</guid>
      <dc:creator>enrico.silva1</dc:creator>
      <dc:date>2020-04-09T10:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Limited bend line - Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/limited-bend-line-ilogic/m-p/9385616#M107860</link>
      <description>&lt;P&gt;Hi! I don't believe there is an out-of-box solution to do that. The request is quite unique. Maybe you can tweak the bend line's linetype to have the similar behavior. But, I am not sure if there is a line type guarantee 15mm offset from the edge.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 19:51:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/limited-bend-line-ilogic/m-p/9385616#M107860</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2020-03-18T19:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Limited bend line - Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/limited-bend-line-ilogic/m-p/9385638#M107861</link>
      <description>&lt;P&gt;Okay my friend.&lt;/P&gt;&lt;P&gt;I gonna continue try do this.&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 20:03:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/limited-bend-line-ilogic/m-p/9385638#M107861</guid>
      <dc:creator>enrico.silva1</dc:creator>
      <dc:date>2020-03-18T20:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Limited bend line - Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/limited-bend-line-ilogic/m-p/10777102#M131620</link>
      <description>&lt;P&gt;I am also interested if anyone has preformed this in Inventor ilogic. The 3rd party app "DXF Exporter" can do it.&lt;/P&gt;&lt;P&gt;I use the following Ilogic routine but it would be nice to have it trim the bend lines too.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sub Main()
On Error GoTo ErrorHandler
	oDoc = ThisDoc.Document
	 
	If oDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then
	 
		Dim oCompDef As SheetMetalComponentDefinition = oDoc.ComponentDefinition
	 
		If oCompDef.HasFlatPattern = False Then
			oCompDef.Unfold
		Else
			oCompDef.FlatPattern.Edit
		End If
			
		Dim sOut As String = "FLAT PATTERN DXF?AcadVersion=2010" _
			+ "&amp;amp;OuterProfileLayer=0" _
			+ "&amp;amp;OuterProfileLayerColor=0 ;0 ;0" _
			+ "&amp;amp;InteriorProfilesLayer=0" _
			+ "&amp;amp;InteriorProfilesLayerColor=0 ;0 ;0" _
			+ "&amp;amp;BendDownLayer=Scribe" _
			+ "&amp;amp;BendDownLayerLineType=37633" _
			+ "&amp;amp;BendDownLayerColor=0 ;0 ;255" _
			+ "&amp;amp;BendUpLayer=Scribe" _
			+ "&amp;amp;BendUpLayerLineType=37633" _
			+ "&amp;amp;BendUpLayerColor=0 ;0 ;255" _
			+ "&amp;amp;InvisibleLayers=IV_FEATURE_PROFILES;IV_FEATURE_PROFILES_DOWN" _
			+ ";IV_ALTREP_FRONT;IV_ALTREP_BACK;IV_ROLL_TANGENT;IV_ROLL;IV_TANGENT" _
			+ ";IV_TOOL_CENTER;IV_TOOL_CENTER_DOWN;IV_ARC_CENTERS;IV_UNCONSUMED_SKETCHES" _
			+ "&amp;amp;RebaseGeometry=True" _
			+ "&amp;amp;SimplifySplines=True" _
			+ "&amp;amp;SplineTolerance=0.01" _
			+ "&amp;amp;MergeProfilesIntoPolyline=True"
		
		Dim oPath As String = ThisDoc.Path

		If oPath = String.Empty Then
			MsgBox("Please save your document first.", , "iLogic Export Flat Pattern")
			Exit Sub
		End If
			
		Dim sFname As String
		Dim sfd As New SaveFileDialog
		
		dName = ThisDoc.Document.DisplayName
		sName = Left(dName, Len(dName) - 4)
		
		sfd.Filter = "DXF Files (*.dxf)|*dxf"
		sfd.InitialDirectory = oPath
	'	sfd.FileName = iProperties.Value("Project", "Part Number")
		sfd.FileName = sName &amp;amp; ".dxf"
	 
		If sfd.ShowDialog = System.Windows.Forms.DialogResult.OK Then
			sFname = sfd.FileName
			If Not Strings.Right(sFname, 4) = ".dxf" Then sFname = sFname &amp;amp; ".dxf"
		Else
			Exit Sub
		End If
		

	 	oCompDef.DataIO.WriteDataToFile(sOut, sFname)
		oCompDef.FlatPattern.ExitEdit
			
		MessageBox.Show("Your file was saved in the following directory: " + sFname)
	Else
		MessageBox.Show("Only sheet metal parts can be exported as DXF.")
	End If
Exit Sub

ErrorHandler:
	MessageBox.Show("The file is in use!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Stop, MessageBoxDefaultButton.Button1)
    Exit Sub
End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 18:05:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/limited-bend-line-ilogic/m-p/10777102#M131620</guid>
      <dc:creator>davis.j</dc:creator>
      <dc:date>2021-11-23T18:05:27Z</dc:date>
    </item>
  </channel>
</rss>

