<?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 find Duct Volume in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9947516#M119215</link>
    <description>&lt;P&gt;Some time a go i wrote &lt;A href="https://clintbrown.co.uk/2020/04/14/compare-part-geometry-with-ilogic-guest-post/" target="_blank" rel="noopener"&gt;this blog post&lt;/A&gt;. Its about Comparing part geometry with iLogic. I figured if you fill all holes and then compare it with the original file you will get a part that is the inner volume. So i changed my original blog post. now it will give you a volume (as a part and as a message). The only down side is that it creates some extra files.&amp;nbsp; it starts by creating a assembly wit only the original part. That is assembly is used to create a simplified model and fill all holes. then my original code go's to work and creates a diff file.&lt;/P&gt;&lt;P&gt;Try it and let me know what you think..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&lt;/SPAN&gt;()
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTg&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kAssemblyDocumentObject&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oTg&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateMatrix&lt;/SPAN&gt;())

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;path&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetDirectoryName&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetFileNameWithoutExtension&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;".iam"&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Combine&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;path&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Close&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt;)

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;derivedDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DerivedAssemblyDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DerivedAssemblyComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateDefinition&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;derivedDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DeriveStyle&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DerivedComponentStyleEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kDeriveAsSingleBodyNoSeams&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;derivedDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SetHolePatchingOptions&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DerivedHolePatchEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kDerivedPatchAll&lt;/SPAN&gt;)

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;derivedPart&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DerivedAssemblyComponent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DerivedAssemblyComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;derivedDef&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;derivedPart&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BreakLinkToFile&lt;/SPAN&gt;()

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetFileNameWithoutExtension&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"_closed.ipt"&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Combine&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;path&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Close&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)


    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;partName1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;partName2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;partDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;createDiff&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;partName2&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;partName1&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;massProps&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MassProperties&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;partDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;MassProperties&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;uom&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;UnitsOfMeasure&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;partDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UnitsOfMeasure&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;defaultLength&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;uom&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetStringFromType&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;uom&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LengthUnits&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;volume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;uom&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetStringFromValue&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;partDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;MassProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Volume&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;defaultLength&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"^3"&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;volume&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Public&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;createDiff&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;fileName1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;fileName2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Open&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;fileName1&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;fileInfo&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FileInfo&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FileInfo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;newFileName&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Combine&lt;/SPAN&gt;(
        &lt;SPAN style="color: #800000;"&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DirectoryName&lt;/SPAN&gt;,
        &lt;SPAN style="color: #800000;"&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Replace&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Extension&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;) +
        &lt;SPAN style="color: #008080;"&gt;"_dif"&lt;/SPAN&gt; +
        &lt;SPAN style="color: #800000;"&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Extension&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;newFileName&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)


    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;derivedPartDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DerivedPartUniformScaleDef&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;derivedPartDef&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DerivedPartComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateUniformScaleDef&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;fileName2&lt;/SPAN&gt;)

    &lt;SPAN style="color: #800000;"&gt;derivedPartDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BodyAsSolidBody&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;derivedPart&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DerivedPartComponent&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;derivedPart&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DerivedPartComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;derivedPartDef&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;derivedPart&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BreakLinkToFile&lt;/SPAN&gt;()

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;splitTool&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SurfaceBody&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;WorkSurfaces&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;_SurfaceBody&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;splitTool&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Visible&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;body&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SurfaceBody&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SurfaceBodies&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
    &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
        &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Features&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SplitFeatures&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TrimSolid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;splitTool&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;body&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ex&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Exception&lt;/SPAN&gt;
        &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Features&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SplitFeatures&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TrimSolid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;splitTool&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;body&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
        &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveRenderStyle&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RenderStyles&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Green"&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ex&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Exception&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;

    &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Update&lt;/SPAN&gt;()

    &lt;SPAN style="color: #808080;"&gt;'doc.Save()&lt;/SPAN&gt;
    &lt;SPAN style="color: #808080;"&gt;'doc.Close(True)&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 17 Dec 2020 21:05:41 GMT</pubDate>
    <dc:creator>JelteDeJong</dc:creator>
    <dc:date>2020-12-17T21:05:41Z</dc:date>
    <item>
      <title>iLogic rule to find Duct Volume</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9937537#M119083</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make a rule for measuring the duct volume. In the projects, we are having the duct in any route so my idea is to first make a simplified model and measure the inside volume.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the real challenge is to develop inside solid by selecting multiple faces. Please have a look at my screencast attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to have a rule which allows me to pick the inside faces of the duct and measure the inside volume for the same. (I think we might have to develop full solid inside. but I am not sure there could be some other way).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;your help will be highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhavik Suthar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="iframe-container" style="position: relative; height: 0; margin: 0; padding-bottom: 96.875%;"&gt;&lt;IFRAME width="640" height="620" style="position: absolute; left: 0; top: 0; width: 100%; height: 100%;" src="https://screencast.autodesk.com/Embed/Timeline/55220a91-21b2-4cca-a2ae-0298c2a65064" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" scrolling="no"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;&amp;nbsp;</description>
      <pubDate>Mon, 14 Dec 2020 06:16:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9937537#M119083</guid>
      <dc:creator>bhavik4244</dc:creator>
      <dc:date>2020-12-14T06:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to find Duct Volume</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9942440#M119130</link>
      <description>&lt;P&gt;I think there is an easy solution to this if the duct work will always be created with a shell feature, and you work with single solidbody parts.&amp;nbsp; If this is not the case then let me know.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim pDef As PartComponentDefinition = ThisDoc.Document.ComponentDefinition
Dim sb As SurfaceBody = pDef.SurfaceBodies.Item(1)

Dim Volume1 As Double = sb.Volume(0.0001)
Dim Volume2 As Double
Dim Volume3 As Double

Dim oShellFeat As ShellFeature

For Each oFeat As PartFeature In sb.AffectedByFeatures
	If oFeat.Type = ObjectTypeEnum.kShellFeatureObject
		oShellFeat = oFeat
		Exit For
	End If
Next

If IsNothing(oShellFeat) Then MessageBox.Show("Solid not affected by a shell feature", "Custom Error 1") : Exit Sub

Dim EOPmarkerCurrent As Object
Dim eopBefore As Object
Dim eopAfter As Object
pDef.GetEndOfPartPosition(eopAfter, eopBefore)
If IsNothing(eopAfter)
	EOPmarkerCurrent = eopBefore
Else
	EOPmarkerCurrent = eopAfter
End If

oShellFeat.SetEndOfPart(True)'Before = True After = False

Dim Tempsb As SurfaceBody = pDef.SurfaceBodies.Item(1)
Volume2 = Tempsb.Volume(0.0001)

'MessageBox.Show("Shell Volume [cm^3]: " &amp;amp; Round(Volume1, 5) &amp;amp; vbCrLf &amp;amp; "Void Volume [cm^3]: " &amp;amp; Round(Volume2, 5), "Volume Comparison:")

EOPmarkerCurrent.SetEndOfPart(False)'Before = True After = False

If oShellFeat.Definition.Direction = ShellDirectionEnum.kOutsideShellDirection
	Volume3 = Volume2
Else If oShellFeat.Definition.Direction = ShellDirectionEnum.kInsideShellDirection
	Volume3 = Volume2-Volume1
Else If oShellFeat.Definition.Direction = ShellDirectionEnum.kBothSidesShellDirection
	MessageBox.Show("It's not as easy to determine BothSidesShellDirection without more work.  If you use this type let me know and we can adapt this code.", "Option Not Programed")
	Exit Sub
End If

MessageBox.Show("Volume using Internal Units [cm^3]: " &amp;amp; Round(Volume3, 5) &amp;amp; vbCrLf &amp;amp; _
				"Volume converted Units [in^3]: " &amp;amp; Round((Volume3/(2.54^3)), 5), "Volume:")&lt;/LI-CODE&gt;&lt;P&gt;It works by moving Checking current Volume, then moves EOP above the Shell Feature to read the second volume.&amp;nbsp; Then depending on the type of Shell direction it determines the void volume, and returns EOP to it's original position.&amp;nbsp; I do not have anything worked out for a shell feature going both directions as that is much more involved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions, or if this is not working as intended.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 21:23:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9942440#M119130</guid>
      <dc:creator>J-Camper</dc:creator>
      <dc:date>2020-12-15T21:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to find Duct Volume</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9942950#M119134</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4898893"&gt;@J-Camper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help, however it doesn't solve my sole purpose. Actually we have a long duct line installed in assembly, we just make shrinkwrap of duct installed in an assembly then we have to calculate the inside volume of the duct. it's even double work to do the whole assemblies duct feature again with shell involved in it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it possible to select the faces, as I did in the screencast and it will generate an internal body and then we can measure the volume?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again thanks for your tip.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 04:21:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9942950#M119134</guid>
      <dc:creator>bhavik4244</dc:creator>
      <dc:date>2020-12-16T04:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to find Duct Volume</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9943882#M119149</link>
      <description>&lt;P&gt;Hmm... if you have a full duct system to check, you might not want to have to manually select all internal faces and you would have to close the open ends anyways in order for Inventor to give a Volume.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you could use a workflow like this maybe:&lt;/P&gt;&lt;P&gt;- Read volume of existing solid&lt;/P&gt;&lt;P&gt;- copy the Solid Body temporarily with an array, as new body&lt;/P&gt;&lt;P&gt;- patch the open ends&lt;/P&gt;&lt;P&gt;- Sculpt the patches to the temporary solid (to fill void)&lt;/P&gt;&lt;P&gt;- Read the volume of this sculpted solid and subtract your original volume for final void volume&lt;/P&gt;&lt;P&gt;At this point you can delete the arrayed solid, pull EOP up above array, or leave it if the extra solid body doesn't bother you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions or if this new workflow is unacceptable, and we can think of something else.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 13:54:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9943882#M119149</guid>
      <dc:creator>J-Camper</dc:creator>
      <dc:date>2020-12-16T13:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to find Duct Volume</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9947516#M119215</link>
      <description>&lt;P&gt;Some time a go i wrote &lt;A href="https://clintbrown.co.uk/2020/04/14/compare-part-geometry-with-ilogic-guest-post/" target="_blank" rel="noopener"&gt;this blog post&lt;/A&gt;. Its about Comparing part geometry with iLogic. I figured if you fill all holes and then compare it with the original file you will get a part that is the inner volume. So i changed my original blog post. now it will give you a volume (as a part and as a message). The only down side is that it creates some extra files.&amp;nbsp; it starts by creating a assembly wit only the original part. That is assembly is used to create a simplified model and fill all holes. then my original code go's to work and creates a diff file.&lt;/P&gt;&lt;P&gt;Try it and let me know what you think..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&lt;/SPAN&gt;()
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTg&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kAssemblyDocumentObject&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oTg&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateMatrix&lt;/SPAN&gt;())

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;path&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetDirectoryName&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetFileNameWithoutExtension&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;".iam"&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Combine&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;path&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Close&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt;)

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;derivedDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DerivedAssemblyDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DerivedAssemblyComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateDefinition&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;filename&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;derivedDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DeriveStyle&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DerivedComponentStyleEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kDeriveAsSingleBodyNoSeams&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;derivedDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SetHolePatchingOptions&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DerivedHolePatchEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kDerivedPatchAll&lt;/SPAN&gt;)

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;derivedPart&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DerivedAssemblyComponent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DerivedAssemblyComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;derivedDef&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;derivedPart&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BreakLinkToFile&lt;/SPAN&gt;()

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetFileNameWithoutExtension&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"_closed.ipt"&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Combine&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;path&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Close&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)


    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;partName1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;partName2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;filename2&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;partDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;createDiff&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;partName2&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;partName1&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;massProps&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MassProperties&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;partDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;MassProperties&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;uom&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;UnitsOfMeasure&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;partDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UnitsOfMeasure&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;defaultLength&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;uom&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetStringFromType&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;uom&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;LengthUnits&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;volume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;uom&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetStringFromValue&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;partDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;MassProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Volume&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;defaultLength&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"^3"&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;volume&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Public&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;createDiff&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;fileName1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;fileName2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Open&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;fileName1&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;fileInfo&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FileInfo&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FileInfo&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;newFileName&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Combine&lt;/SPAN&gt;(
        &lt;SPAN style="color: #800000;"&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DirectoryName&lt;/SPAN&gt;,
        &lt;SPAN style="color: #800000;"&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Replace&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Extension&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;) +
        &lt;SPAN style="color: #008080;"&gt;"_dif"&lt;/SPAN&gt; +
        &lt;SPAN style="color: #800000;"&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Extension&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;newFileName&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)


    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;derivedPartDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DerivedPartUniformScaleDef&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;derivedPartDef&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DerivedPartComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateUniformScaleDef&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;fileName2&lt;/SPAN&gt;)

    &lt;SPAN style="color: #800000;"&gt;derivedPartDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BodyAsSolidBody&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;derivedPart&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DerivedPartComponent&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;derivedPart&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DerivedPartComponents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;derivedPartDef&lt;/SPAN&gt;)
    &lt;SPAN style="color: #800000;"&gt;derivedPart&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BreakLinkToFile&lt;/SPAN&gt;()

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;splitTool&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SurfaceBody&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;WorkSurfaces&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;_SurfaceBody&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;splitTool&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Visible&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;body&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SurfaceBody&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SurfaceBodies&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
    &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
        &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Features&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SplitFeatures&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TrimSolid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;splitTool&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;body&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ex&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Exception&lt;/SPAN&gt;
        &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Features&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SplitFeatures&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TrimSolid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;splitTool&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;body&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
        &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveRenderStyle&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RenderStyles&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Green"&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ex&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Exception&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;

    &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Update&lt;/SPAN&gt;()

    &lt;SPAN style="color: #808080;"&gt;'doc.Save()&lt;/SPAN&gt;
    &lt;SPAN style="color: #808080;"&gt;'doc.Close(True)&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Dec 2020 21:05:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9947516#M119215</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2020-12-17T21:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to find Duct Volume</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9948499#M119222</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5011186"&gt;@JelteDeJong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help, there was some issue in splitting geometry. However, I twisted it as per my requirement. Now it's working perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here below code which I exactly used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Sub&lt;/SPAN&gt; &lt;SPAN&gt;Main&lt;/SPAN&gt;()
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oTg&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;doc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;

    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;ass&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;Documents&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kAssemblyDocumentObject&lt;/SPAN&gt;)
    &lt;SPAN&gt;ass&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;FullFileName&lt;/SPAN&gt;, &lt;SPAN&gt;oTg&lt;/SPAN&gt;.&lt;SPAN&gt;CreateMatrix&lt;/SPAN&gt;())

    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;path&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;.&lt;SPAN&gt;GetDirectoryName&lt;/SPAN&gt;(&lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;filename&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;.&lt;SPAN&gt;GetFileNameWithoutExtension&lt;/SPAN&gt;(&lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN&gt;filename&lt;/SPAN&gt; = &lt;SPAN&gt;filename&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;".iam"&lt;/SPAN&gt;
    &lt;SPAN&gt;filename&lt;/SPAN&gt; = &lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;.&lt;SPAN&gt;Combine&lt;/SPAN&gt;(&lt;SPAN&gt;path&lt;/SPAN&gt;, &lt;SPAN&gt;filename&lt;/SPAN&gt;)
    &lt;SPAN&gt;ass&lt;/SPAN&gt;.&lt;SPAN&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN&gt;filename&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)
    &lt;SPAN&gt;ass&lt;/SPAN&gt;.&lt;SPAN&gt;Close&lt;/SPAN&gt;(&lt;SPAN&gt;True&lt;/SPAN&gt;)

    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;doc2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;Documents&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kPartDocumentObject&lt;/SPAN&gt;)

    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;derivedDef&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DerivedAssemblyDefinition&lt;/SPAN&gt; = &lt;SPAN&gt;doc2&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN&gt;DerivedAssemblyComponents&lt;/SPAN&gt;.&lt;SPAN&gt;CreateDefinition&lt;/SPAN&gt;(&lt;SPAN&gt;filename&lt;/SPAN&gt;)
    &lt;SPAN&gt;derivedDef&lt;/SPAN&gt;.&lt;SPAN&gt;DeriveStyle&lt;/SPAN&gt; = &lt;SPAN&gt;DerivedComponentStyleEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kDeriveAsSingleBodyNoSeams&lt;/SPAN&gt;
    &lt;SPAN&gt;derivedDef&lt;/SPAN&gt;.&lt;SPAN&gt;SetHolePatchingOptions&lt;/SPAN&gt;(&lt;SPAN&gt;DerivedHolePatchEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kDerivedPatchAll&lt;/SPAN&gt;)

    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;derivedPart&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DerivedAssemblyComponent&lt;/SPAN&gt; = &lt;SPAN&gt;doc2&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN&gt;DerivedAssemblyComponents&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;derivedDef&lt;/SPAN&gt;)


    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;filename2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;.&lt;SPAN&gt;GetFileNameWithoutExtension&lt;/SPAN&gt;(&lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN&gt;filename2&lt;/SPAN&gt; = &lt;SPAN&gt;filename2&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"_closed.ipt"&lt;/SPAN&gt;
    &lt;SPAN&gt;filename2&lt;/SPAN&gt; = &lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;.&lt;SPAN&gt;Combine&lt;/SPAN&gt;(&lt;SPAN&gt;path&lt;/SPAN&gt;, &lt;SPAN&gt;filename2&lt;/SPAN&gt;)
    &lt;SPAN&gt;doc2&lt;/SPAN&gt;.&lt;SPAN&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN&gt;filename2&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)
    &lt;SPAN&gt;doc2&lt;/SPAN&gt;.&lt;SPAN&gt;Close&lt;/SPAN&gt;(&lt;SPAN&gt;True&lt;/SPAN&gt;)


    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;partName1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;FullFileName&lt;/SPAN&gt;
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;partName2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;filename2&lt;/SPAN&gt;

    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;partDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN&gt;createDiff&lt;/SPAN&gt;(&lt;SPAN&gt;partName2&lt;/SPAN&gt;, &lt;SPAN&gt;partName1&lt;/SPAN&gt;)
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;massProps&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;MassProperties&lt;/SPAN&gt; = &lt;SPAN&gt;partDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;MassProperties&lt;/SPAN&gt;
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;uom&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;UnitsOfMeasure&lt;/SPAN&gt; = &lt;SPAN&gt;partDoc&lt;/SPAN&gt;.&lt;SPAN&gt;UnitsOfMeasure&lt;/SPAN&gt;

    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;defaultLength&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;uom&lt;/SPAN&gt;.&lt;SPAN&gt;GetStringFromType&lt;/SPAN&gt;(&lt;SPAN&gt;uom&lt;/SPAN&gt;.&lt;SPAN&gt;LengthUnits&lt;/SPAN&gt;)
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;volume&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;uom&lt;/SPAN&gt;.&lt;SPAN&gt;GetStringFromValue&lt;/SPAN&gt;(&lt;SPAN&gt;partDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;MassProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Volume&lt;/SPAN&gt;, &lt;SPAN&gt;defaultLength&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"^3"&lt;/SPAN&gt;)
    &lt;SPAN&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN&gt;volume&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;

&lt;SPAN&gt;Public&lt;/SPAN&gt; &lt;SPAN&gt;Function&lt;/SPAN&gt; &lt;SPAN&gt;createDiff&lt;/SPAN&gt;(&lt;SPAN&gt;fileName1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;, &lt;SPAN&gt;fileName2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;) &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt;
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;doc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;Documents&lt;/SPAN&gt;.&lt;SPAN&gt;Open&lt;/SPAN&gt;(&lt;SPAN&gt;fileName1&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;fileInfo&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;FileInfo&lt;/SPAN&gt; = &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;FileInfo&lt;/SPAN&gt;(&lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;FullFileName&lt;/SPAN&gt;)
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;newFileName&lt;/SPAN&gt; = &lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;.&lt;SPAN&gt;Combine&lt;/SPAN&gt;(
        &lt;SPAN&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN&gt;DirectoryName&lt;/SPAN&gt;,
        &lt;SPAN&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;.&lt;SPAN&gt;Replace&lt;/SPAN&gt;(&lt;SPAN&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN&gt;Extension&lt;/SPAN&gt;, &lt;SPAN&gt;""&lt;/SPAN&gt;) +
        &lt;SPAN&gt;"_dif"&lt;/SPAN&gt; +
        &lt;SPAN&gt;fileInfo&lt;/SPAN&gt;.&lt;SPAN&gt;Extension&lt;/SPAN&gt;)
    &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN&gt;newFileName&lt;/SPAN&gt;, &lt;SPAN&gt;False&lt;/SPAN&gt;)


    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;derivedPartDef&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DerivedPartUniformScaleDef&lt;/SPAN&gt;
    &lt;SPAN&gt;derivedPartDef&lt;/SPAN&gt; = &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN&gt;DerivedPartComponents&lt;/SPAN&gt;.&lt;SPAN&gt;CreateUniformScaleDef&lt;/SPAN&gt;(&lt;SPAN&gt;fileName2&lt;/SPAN&gt;)

    &lt;SPAN&gt;derivedPartDef&lt;/SPAN&gt;.&lt;SPAN&gt;BodyAsSolidBody&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;

    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;derivedPart&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DerivedPartComponent&lt;/SPAN&gt;
    &lt;SPAN&gt;derivedPart&lt;/SPAN&gt; = &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN&gt;DerivedPartComponents&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;derivedPartDef&lt;/SPAN&gt;)

&lt;SPAN&gt;'create a collection &lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oColl&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ObjectCollection&lt;/SPAN&gt;
    &lt;SPAN&gt;oColl&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateObjectCollection&lt;/SPAN&gt;
	
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;splitTool&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;SurfaceBody&lt;/SPAN&gt; = &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;SurfaceBodies&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(2)
    &lt;SPAN&gt;oColl&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;splitTool&lt;/SPAN&gt;)
	&lt;SPAN&gt;splitTool&lt;/SPAN&gt;.&lt;SPAN&gt;Visible&lt;/SPAN&gt; = &lt;SPAN&gt;False&lt;/SPAN&gt;

    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;body&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;SurfaceBody&lt;/SPAN&gt; = &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;SurfaceBodies&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1)
	    &lt;SPAN&gt;Try&lt;/SPAN&gt;
	&lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;Features&lt;/SPAN&gt;.&lt;SPAN&gt;CombineFeatures&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;body&lt;/SPAN&gt;, &lt;SPAN&gt;oColl&lt;/SPAN&gt;,&lt;SPAN&gt;PartFeatureOperationEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kCutOperation&lt;/SPAN&gt;, )
	 &lt;SPAN&gt;Catch&lt;/SPAN&gt;
		&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
		&lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveRenderStyle&lt;/SPAN&gt; = &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;RenderStyles&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Green"&lt;/SPAN&gt;)


    &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveView&lt;/SPAN&gt;.&lt;SPAN&gt;Update&lt;/SPAN&gt;()

    &lt;SPAN&gt;Return&lt;/SPAN&gt; &lt;SPAN&gt;doc&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Function&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 09:10:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-find-duct-volume/m-p/9948499#M119222</guid>
      <dc:creator>bhavik4244</dc:creator>
      <dc:date>2020-12-18T09:10:42Z</dc:date>
    </item>
  </channel>
</rss>

