<?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 The problem of AutoCAD application get the Inventor drawingsheet attributes in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/the-problem-of-autocad-application-get-the-inventor-drawingsheet/m-p/12864491#M168905</link>
    <description>&lt;P&gt;Hi,everyone Recently,i need to use AutoCAD plot the inventorDWG drawing,and,some infomation need to use,such as Project,latestRev....,So i want add attributes for each sheet.&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Dim oDoc As DrawingDocument
oDoc = ThisApplication.ActiveDocument
Dim oSh As Sheet
oSh = oDoc.ActiveSheet
Dim oAttSets As AttributeSets
oAttSets = oSh.AttributeSets
Dim oASet As AttributeSet
Try
	oASet = oAttSets.Add("Drawing_Version",True)
Catch
	oASet = oAttSets.Item("Drawing_Version")
End Try
oASet.Delete
Try
	oASet = oAttSets.Add("Drawing_Version",True)
Catch
	oASet = oAttSets.Item("Drawing_Version")
End Try
Dim oAtt As Inventor.Attribute
oAtt = oASet.Add("ProjectCode", ValueTypeEnum.kStringType, "NTTX")
oAtt = oASet.Add("SystemCode", ValueTypeEnum.kStringType, "UYT-WCG-STP")
oAtt = oASet.Add("LatestRevNumber", ValueTypeEnum.kStringType, "C")
oAtt = oASet.Add("VersionATime", ValueTypeEnum.kStringType, "2023/05")
oAtt = oASet.Add("VersionBTime", ValueTypeEnum.kStringType, "2023/12")
oAtt = oASet.Add("VersionCTime", ValueTypeEnum.kStringType, "2024/04")&lt;/LI-CODE&gt;&lt;P&gt;If the&amp;nbsp;inventorDWG drawing opened in AutoCAD,the drawing.sheet be named layout.&lt;/P&gt;&lt;P&gt;The problem is how get&amp;nbsp;Inventor drawingsheet attributes in AutoCAD application?&lt;/P&gt;&lt;P&gt;Is anybody have any idea?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2024 11:16:15 GMT</pubDate>
    <dc:creator>Stakin</dc:creator>
    <dc:date>2024-06-27T11:16:15Z</dc:date>
    <item>
      <title>The problem of AutoCAD application get the Inventor drawingsheet attributes</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/the-problem-of-autocad-application-get-the-inventor-drawingsheet/m-p/12864491#M168905</link>
      <description>&lt;P&gt;Hi,everyone Recently,i need to use AutoCAD plot the inventorDWG drawing,and,some infomation need to use,such as Project,latestRev....,So i want add attributes for each sheet.&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Dim oDoc As DrawingDocument
oDoc = ThisApplication.ActiveDocument
Dim oSh As Sheet
oSh = oDoc.ActiveSheet
Dim oAttSets As AttributeSets
oAttSets = oSh.AttributeSets
Dim oASet As AttributeSet
Try
	oASet = oAttSets.Add("Drawing_Version",True)
Catch
	oASet = oAttSets.Item("Drawing_Version")
End Try
oASet.Delete
Try
	oASet = oAttSets.Add("Drawing_Version",True)
Catch
	oASet = oAttSets.Item("Drawing_Version")
End Try
Dim oAtt As Inventor.Attribute
oAtt = oASet.Add("ProjectCode", ValueTypeEnum.kStringType, "NTTX")
oAtt = oASet.Add("SystemCode", ValueTypeEnum.kStringType, "UYT-WCG-STP")
oAtt = oASet.Add("LatestRevNumber", ValueTypeEnum.kStringType, "C")
oAtt = oASet.Add("VersionATime", ValueTypeEnum.kStringType, "2023/05")
oAtt = oASet.Add("VersionBTime", ValueTypeEnum.kStringType, "2023/12")
oAtt = oASet.Add("VersionCTime", ValueTypeEnum.kStringType, "2024/04")&lt;/LI-CODE&gt;&lt;P&gt;If the&amp;nbsp;inventorDWG drawing opened in AutoCAD,the drawing.sheet be named layout.&lt;/P&gt;&lt;P&gt;The problem is how get&amp;nbsp;Inventor drawingsheet attributes in AutoCAD application?&lt;/P&gt;&lt;P&gt;Is anybody have any idea?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 11:16:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/the-problem-of-autocad-application-get-the-inventor-drawingsheet/m-p/12864491#M168905</guid>
      <dc:creator>Stakin</dc:creator>
      <dc:date>2024-06-27T11:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: The problem of AutoCAD application get the Inventor drawingsheet attributes</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/the-problem-of-autocad-application-get-the-inventor-drawingsheet/m-p/12864695#M168908</link>
      <description>&lt;P&gt;It can be confusing, but &lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-E06575AE-56CF-4229-8C93-64B95DB4831C" target="_blank"&gt;Attributes&lt;/A&gt; in Inventor is completely different thing than in AutoCAD. In my opinion there is no way to read this in AutoCAD.&lt;/P&gt;&lt;P&gt;Attributes in Inventor is just an information layer which can be used to store information connected to Inventor objects.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 12:46:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/the-problem-of-autocad-application-get-the-inventor-drawingsheet/m-p/12864695#M168908</guid>
      <dc:creator>Michael.Navara</dc:creator>
      <dc:date>2024-06-27T12:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: The problem of AutoCAD application get the Inventor drawingsheet attributes</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/the-problem-of-autocad-application-get-the-inventor-drawingsheet/m-p/12865031#M168917</link>
      <description>&lt;P&gt;I think maybe the inventor attributes is like the Layout's property: "Xdata" or "ExtensionDictionary"&amp;nbsp; in the AutoCad.&lt;BR /&gt;But i am not read them out successfully.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 06:26:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/the-problem-of-autocad-application-get-the-inventor-drawingsheet/m-p/12865031#M168917</guid>
      <dc:creator>Stakin</dc:creator>
      <dc:date>2024-06-28T06:26:42Z</dc:date>
    </item>
  </channel>
</rss>

