<?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: Modification of overall dimension code in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10578805#M46354</link>
    <description>&lt;P&gt;try this rule it will loop over all sheets and all drawingviews.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Public&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Class&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ThisRule&lt;/SPAN&gt;
	&lt;SPAN style="color: #808080;"&gt;' This code was written by Jelte de Jong&lt;/SPAN&gt;
	&lt;SPAN style="color: #808080;"&gt;' and published on www.hjalte.nl&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Private&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;DrawingDocument&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Sheet&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&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: #800000;"&gt;_doc&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
		
		&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;sheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;sheets&lt;/SPAN&gt;	
			&lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Sheet&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;view&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingViews&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;View&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt; =  &lt;SPAN style="color: #ff0000;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt;)()
				&lt;SPAN style="color: #800000;"&gt;CreateIntentList&lt;/SPAN&gt;()
			    &lt;SPAN style="color: #800000;"&gt;createHorizontalOuterDimension&lt;/SPAN&gt;()
			    &lt;SPAN style="color: #800000;"&gt;createVerticalOuterDimension&lt;/SPAN&gt;()
			&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Next&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;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;createHorizontalOuterDimension&lt;/SPAN&gt;()
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;OrderByDescending&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;s&lt;/SPAN&gt;) &lt;SPAN style="color: #800000;"&gt;s&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;)

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;First&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Last&lt;/SPAN&gt;

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;textX&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; +
                (&lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;) / 2
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;textY&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Position&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Height&lt;/SPAN&gt; / 2 + 2

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointText&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;textX&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;textY&lt;/SPAN&gt;)
        &lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingDimensions&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GeneralDimensions&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddLinear&lt;/SPAN&gt;(
            &lt;SPAN style="color: #800000;"&gt;pointText&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;DimensionTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kHorizontalDimensionType&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;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;createVerticalOuterDimension&lt;/SPAN&gt;()
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;OrderByDescending&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;s&lt;/SPAN&gt;) &lt;SPAN style="color: #800000;"&gt;s&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Last&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;First&lt;/SPAN&gt;

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;textY&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; +
                (&lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;) / 2
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;textX&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Position&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Width&lt;/SPAN&gt; / 2 - 2

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointText&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;textX&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;textY&lt;/SPAN&gt;)
        &lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingDimensions&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GeneralDimensions&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddLinear&lt;/SPAN&gt;(
            &lt;SPAN style="color: #800000;"&gt;pointText&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;DimensionTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kVerticalDimensionType&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;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;Geometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;IntentPlace&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Object&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;onLineCheck&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Boolean&lt;/SPAN&gt;)
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Geometry&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;IntentPlace&lt;/SPAN&gt;)
        &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt;

        &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;onLineCheck&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
            &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;IntentIsOnCurve&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;)) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
                &lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;)
            &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
            &lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;)
        &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&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;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;IntentIsOnCurve&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Boolean&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Geometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Geometry&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;sp&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pts&lt;/SPAN&gt;(1) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;gp&lt;/SPAN&gt;() &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt; = {}
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;md&lt;/SPAN&gt;() &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt; = {}
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pm&lt;/SPAN&gt;() &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt; = {}
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;st&lt;/SPAN&gt;() &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SolutionNatureEnum&lt;/SPAN&gt; = {}
        &lt;SPAN style="color: #800000;"&gt;pts&lt;/SPAN&gt;(0) = &lt;SPAN style="color: #800000;"&gt;sp&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;
        &lt;SPAN style="color: #800000;"&gt;pts&lt;/SPAN&gt;(1) = &lt;SPAN style="color: #800000;"&gt;sp&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;

        &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
            &lt;SPAN style="color: #800000;"&gt;Geometry&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Evaluator2D&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetParamAtPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pts&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;gp&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;md&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pm&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;st&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;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;False&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;Return&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;Function&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CreateIntentList&lt;/SPAN&gt;()

        &lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingCurves&lt;/SPAN&gt;
            &lt;SPAN style="color: #ff0000;"&gt;Select&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Case&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ProjectedCurveType&lt;/SPAN&gt;
                &lt;SPAN style="color: #ff0000;"&gt;Case&lt;/SPAN&gt; _
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircleCurve2d&lt;/SPAN&gt;,
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircularArcCurve2d&lt;/SPAN&gt;,
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kEllipseFullCurve2d&lt;/SPAN&gt;,
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kEllipticalArcCurve2d&lt;/SPAN&gt;

                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircularTopPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircularBottomPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircularLeftPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircularRightPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)

                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kEndPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)
                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kStartPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)

                &lt;SPAN style="color: #ff0000;"&gt;Case&lt;/SPAN&gt; _
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kLineCurve2d&lt;/SPAN&gt;,
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kLineSegmentCurve2d&lt;/SPAN&gt;

                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kEndPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)
                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kStartPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)

                &lt;SPAN style="color: #ff0000;"&gt;Case&lt;/SPAN&gt; _
                    &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPolylineCurve2d&lt;/SPAN&gt;,
                    &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kBSplineCurve2d&lt;/SPAN&gt;,
                    &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kUnknownCurve2d&lt;/SPAN&gt;

                    &lt;SPAN style="color: #808080;"&gt;' Unhandled curves types&lt;/SPAN&gt;
                &lt;SPAN style="color: #ff0000;"&gt;Case&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
            &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Select&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Next&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;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Class&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Aug 2021 14:08:56 GMT</pubDate>
    <dc:creator>JelteDeJong</dc:creator>
    <dc:date>2021-08-27T14:08:56Z</dc:date>
    <item>
      <title>Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10576884#M46352</link>
      <description>&lt;P&gt;&lt;A href="http://hjalte.nl/37-auto-overall-dimension" target="_blank"&gt;http://hjalte.nl/37-auto-overall-dimension&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5011186"&gt;@JelteDeJong&lt;/a&gt;&amp;nbsp;just checked your code for overall dimensions and this is working brilliantly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of running this on individual views I want to run it on all views of the open drawing. if you could please modify this, that would be awesome.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 21:55:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10576884#M46352</guid>
      <dc:creator>floccipier</dc:creator>
      <dc:date>2021-08-26T21:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10576967#M46353</link>
      <description>&lt;P&gt;here is code if someone else gets a chance to find solution:-&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Public Class ThisRule
	' This code was written by Jelte de Jong
	' and published on www.hjalte.nl
    Private _doc As DrawingDocument
    Private _sheet As Sheet
    Private _view As DrawingView
    Private _intents As List(Of GeometryIntent) = New List(Of GeometryIntent)()

    Sub Main()
        _doc = ThisDoc.Document
        _sheet = _doc.ActiveSheet
        _view = ThisApplication.CommandManager.Pick(
                       SelectionFilterEnum.kDrawingViewFilter, 
                       "Select a drawing view")

        CreateIntentList()
        createHorizontalOuterDimension()
        createVerticalOuterDimension()
    End Sub

    Private Sub createHorizontalOuterDimension()
        Dim orderedIntents = _intents.OrderByDescending(Function(s) s.PointOnSheet.X)

        Dim pointLeft = orderedIntents.First
        Dim pointRight = orderedIntents.Last

        Dim textX = pointLeft.PointOnSheet.X +
                (pointRight.PointOnSheet.X - pointLeft.PointOnSheet.X) / 2
        Dim textY = _view.Position.Y + _view.Height / 2 + 2

        Dim pointText = ThisApplication.TransientGeometry.CreatePoint2d(textX, textY)
        _sheet.DrawingDimensions.GeneralDimensions.AddLinear(
            pointText, pointLeft, pointRight, DimensionTypeEnum.kHorizontalDimensionType)
    End Sub
    Private Sub createVerticalOuterDimension()
        Dim orderedIntents = _intents.OrderByDescending(Function(s) s.PointOnSheet.Y)

        Dim pointLeft = orderedIntents.Last
        Dim pointRight = orderedIntents.First

        Dim textY = pointLeft.PointOnSheet.Y +
                (pointRight.PointOnSheet.Y - pointLeft.PointOnSheet.Y) / 2
        Dim textX = _view.Position.X - _view.Width / 2 - 2

        Dim pointText = ThisApplication.TransientGeometry.CreatePoint2d(textX, textY)
        _sheet.DrawingDimensions.GeneralDimensions.AddLinear(
            pointText, pointLeft, pointRight, DimensionTypeEnum.kVerticalDimensionType)
    End Sub

    Private Sub addIntent(Geometry As DrawingCurve, IntentPlace As Object, onLineCheck As Boolean)
        Dim intent As GeometryIntent = _sheet.CreateGeometryIntent(Geometry, IntentPlace)
        If intent.PointOnSheet Is Nothing Then Return

        If onLineCheck Then
            If (IntentIsOnCurve(intent)) Then
                _intents.Add(intent)
            End If
        Else
            _intents.Add(intent)
        End If
    End Sub

    Private Function IntentIsOnCurve(intent As GeometryIntent) As Boolean
        Dim Geometry As DrawingCurve = intent.Geometry
        Dim sp = intent.PointOnSheet

        Dim pts(1) As Double
        Dim gp() As Double = {}
        Dim md() As Double = {}
        Dim pm() As Double = {}
        Dim st() As SolutionNatureEnum = {}
        pts(0) = sp.X
        pts(1) = sp.Y

        Try
            Geometry.Evaluator2D.GetParamAtPoint(pts, gp, md, pm, st)
        Catch ex As Exception
            Return False
        End Try
        Return True
    End Function

    Private Sub CreateIntentList()

        For Each oDrawingCurve As DrawingCurve In _view.DrawingCurves
            Select Case oDrawingCurve.ProjectedCurveType
                Case _
                        Curve2dTypeEnum.kCircleCurve2d,
                        Curve2dTypeEnum.kCircularArcCurve2d,
                        Curve2dTypeEnum.kEllipseFullCurve2d,
                        Curve2dTypeEnum.kEllipticalArcCurve2d

                    addIntent(oDrawingCurve, PointIntentEnum.kCircularTopPointIntent, True)
                    addIntent(oDrawingCurve, PointIntentEnum.kCircularBottomPointIntent, True)
                    addIntent(oDrawingCurve, PointIntentEnum.kCircularLeftPointIntent, True)
                    addIntent(oDrawingCurve, PointIntentEnum.kCircularRightPointIntent, True)

                    addIntent(oDrawingCurve, PointIntentEnum.kEndPointIntent, False)
                    addIntent(oDrawingCurve, PointIntentEnum.kStartPointIntent, False)

                Case _
                        Curve2dTypeEnum.kLineCurve2d,
                        Curve2dTypeEnum.kLineSegmentCurve2d

                    addIntent(oDrawingCurve, PointIntentEnum.kEndPointIntent, False)
                    addIntent(oDrawingCurve, PointIntentEnum.kStartPointIntent, False)

                Case _
                    Curve2dTypeEnum.kPolylineCurve2d,
                    Curve2dTypeEnum.kBSplineCurve2d,
                    Curve2dTypeEnum.kUnknownCurve2d

                    ' Unhandled curves types
                Case Else
            End Select
        Next
    End Sub
End Class&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 26 Aug 2021 22:57:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10576967#M46353</guid>
      <dc:creator>floccipier</dc:creator>
      <dc:date>2021-08-26T22:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10578805#M46354</link>
      <description>&lt;P&gt;try this rule it will loop over all sheets and all drawingviews.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Public&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Class&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ThisRule&lt;/SPAN&gt;
	&lt;SPAN style="color: #808080;"&gt;' This code was written by Jelte de Jong&lt;/SPAN&gt;
	&lt;SPAN style="color: #808080;"&gt;' and published on www.hjalte.nl&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Private&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;DrawingDocument&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Sheet&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&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: #800000;"&gt;_doc&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
		
		&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;sheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;sheets&lt;/SPAN&gt;	
			&lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Sheet&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;view&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingViews&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;View&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt; =  &lt;SPAN style="color: #ff0000;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt;)()
				&lt;SPAN style="color: #800000;"&gt;CreateIntentList&lt;/SPAN&gt;()
			    &lt;SPAN style="color: #800000;"&gt;createHorizontalOuterDimension&lt;/SPAN&gt;()
			    &lt;SPAN style="color: #800000;"&gt;createVerticalOuterDimension&lt;/SPAN&gt;()
			&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Next&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;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;createHorizontalOuterDimension&lt;/SPAN&gt;()
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;OrderByDescending&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;s&lt;/SPAN&gt;) &lt;SPAN style="color: #800000;"&gt;s&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;)

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;First&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Last&lt;/SPAN&gt;

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;textX&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; +
                (&lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;) / 2
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;textY&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Position&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Height&lt;/SPAN&gt; / 2 + 2

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointText&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;textX&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;textY&lt;/SPAN&gt;)
        &lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingDimensions&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GeneralDimensions&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddLinear&lt;/SPAN&gt;(
            &lt;SPAN style="color: #800000;"&gt;pointText&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;DimensionTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kHorizontalDimensionType&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;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;createVerticalOuterDimension&lt;/SPAN&gt;()
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;OrderByDescending&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;s&lt;/SPAN&gt;) &lt;SPAN style="color: #800000;"&gt;s&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;)

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Last&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;orderedIntents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;First&lt;/SPAN&gt;

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;textY&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; +
                (&lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;) / 2
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;textX&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Position&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Width&lt;/SPAN&gt; / 2 - 2

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pointText&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;textX&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;textY&lt;/SPAN&gt;)
        &lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingDimensions&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GeneralDimensions&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddLinear&lt;/SPAN&gt;(
            &lt;SPAN style="color: #800000;"&gt;pointText&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pointLeft&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pointRight&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;DimensionTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kVerticalDimensionType&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;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;Geometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;IntentPlace&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Object&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;onLineCheck&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Boolean&lt;/SPAN&gt;)
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;_sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Geometry&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;IntentPlace&lt;/SPAN&gt;)
        &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt;

        &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;onLineCheck&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
            &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;IntentIsOnCurve&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;)) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
                &lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;)
            &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
            &lt;SPAN style="color: #800000;"&gt;_intents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;)
        &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&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;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;IntentIsOnCurve&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GeometryIntent&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Boolean&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Geometry&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Geometry&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;sp&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;intent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PointOnSheet&lt;/SPAN&gt;

        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pts&lt;/SPAN&gt;(1) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;gp&lt;/SPAN&gt;() &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt; = {}
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;md&lt;/SPAN&gt;() &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt; = {}
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pm&lt;/SPAN&gt;() &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt; = {}
        &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;st&lt;/SPAN&gt;() &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SolutionNatureEnum&lt;/SPAN&gt; = {}
        &lt;SPAN style="color: #800000;"&gt;pts&lt;/SPAN&gt;(0) = &lt;SPAN style="color: #800000;"&gt;sp&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;
        &lt;SPAN style="color: #800000;"&gt;pts&lt;/SPAN&gt;(1) = &lt;SPAN style="color: #800000;"&gt;sp&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;

        &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
            &lt;SPAN style="color: #800000;"&gt;Geometry&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Evaluator2D&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetParamAtPoint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;pts&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;gp&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;md&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pm&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;st&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;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;False&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;Return&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;Function&lt;/SPAN&gt;

    &lt;SPAN style="color: #ff0000;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CreateIntentList&lt;/SPAN&gt;()

        &lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DrawingCurve&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;_view&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingCurves&lt;/SPAN&gt;
            &lt;SPAN style="color: #ff0000;"&gt;Select&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Case&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ProjectedCurveType&lt;/SPAN&gt;
                &lt;SPAN style="color: #ff0000;"&gt;Case&lt;/SPAN&gt; _
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircleCurve2d&lt;/SPAN&gt;,
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircularArcCurve2d&lt;/SPAN&gt;,
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kEllipseFullCurve2d&lt;/SPAN&gt;,
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kEllipticalArcCurve2d&lt;/SPAN&gt;

                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircularTopPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircularBottomPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircularLeftPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kCircularRightPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)

                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kEndPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)
                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kStartPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)

                &lt;SPAN style="color: #ff0000;"&gt;Case&lt;/SPAN&gt; _
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kLineCurve2d&lt;/SPAN&gt;,
                        &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kLineSegmentCurve2d&lt;/SPAN&gt;

                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kEndPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)
                    &lt;SPAN style="color: #800000;"&gt;addIntent&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDrawingCurve&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PointIntentEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kStartPointIntent&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)

                &lt;SPAN style="color: #ff0000;"&gt;Case&lt;/SPAN&gt; _
                    &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPolylineCurve2d&lt;/SPAN&gt;,
                    &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kBSplineCurve2d&lt;/SPAN&gt;,
                    &lt;SPAN style="color: #800000;"&gt;Curve2dTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kUnknownCurve2d&lt;/SPAN&gt;

                    &lt;SPAN style="color: #808080;"&gt;' Unhandled curves types&lt;/SPAN&gt;
                &lt;SPAN style="color: #ff0000;"&gt;Case&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
            &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Select&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;Next&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;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Class&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 14:08:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10578805#M46354</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2021-08-27T14:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10579914#M46355</link>
      <description>Thank you so much - its not much but morning coffee is on me.</description>
      <pubDate>Fri, 27 Aug 2021 21:48:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10579914#M46355</guid>
      <dc:creator>floccipier</dc:creator>
      <dc:date>2021-08-27T21:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10581453#M46356</link>
      <description>&lt;P&gt;Thank you for the coffee I appreciate it a lot &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 18:04:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10581453#M46356</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2021-08-28T18:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10582627#M46357</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;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;good job, beer sent for your job&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Aug 2021 13:57:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10582627#M46357</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2021-08-29T13:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10582960#M46358</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;Tell me, are there any holes in the details at your job? Maybe such a problem, auto size of the position of the holes, when you come up with a solution. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I'll run for wine &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Aug 2021 18:56:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10582960#M46358</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2021-08-29T18:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10582995#M46359</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;Thank you for the Beer &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Aug 2021 19:36:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10582995#M46359</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2021-08-29T19:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10583041#M46360</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;It's not completely clear what you need. Maybe you could post a screenshot of what you envision. Maybe it's a good topic for a new blog post &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Aug 2021 20:16:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10583041#M46360</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2021-08-29T20:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10583919#M46361</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;I drew the furniture and spent most of my time marking the dimensions of the holes. I don’t know if it can be automated, but the basics of your work thought you might succeed. If the program would add large amounts of dimensions, it would not be bad to delete them faster than to add them again.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dim hole.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/958796iE44689F981A6737C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dim hole.jpg" alt="dim hole.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 07:51:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/10583919#M46361</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2021-08-30T07:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/11072428#M46362</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;I have a rule that make 2d Drawing for all my stps in specific Path , send to print , and close the stp file.&lt;BR /&gt;How can i call this Class ? i made it by diferents ways but don work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If a run the Class directly , i dont have problem&lt;BR /&gt;&lt;BR /&gt;This is my main Rule&amp;nbsp; , and i have other rules to make this into all the files in a specific Path&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Imports&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ViewOrientationTypeEnum&lt;/SPAN&gt;
&lt;SPAN&gt;Imports&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;DrawingViewStyleEnum&lt;/SPAN&gt;
&lt;SPAN&gt;Imports&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Windows&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Forms&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDrawingDoc&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;DrawingDocument&lt;/SPAN&gt;    
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oPartDoc&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;sheet&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oView1&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oView2&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oView3&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oView4&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt;

&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; Obtener la medida en cada eje , con precision de 2 decimales.&lt;/SPAN&gt;
&lt;SPAN&gt;Medidaenx&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Round&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Measure&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ExtentsLength&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&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N&gt;&lt;SPAN&gt; Se evalua las 3 medidas de bloque x , y , z y se obtiene la mayor , dicha medida se divide por el factor y esa es la escala de las vistas&lt;/SPAN&gt;
&lt;SPAN&gt;Escala&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;MaxOfMany&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;medidaenx&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;medidaeny&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;medidaenz&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;

&lt;SPAN&gt;ViewScale&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;91&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;escala&lt;/SPAN&gt;


    &lt;SPAN&gt;oPartDoc&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Document&lt;/SPAN&gt;
       
    &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;Check to see if part is a sheetmetal part&lt;/SPAN&gt;
    &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oPartDoc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;SubType&lt;/SPAN&gt; &lt;SPAN&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt; 
        &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;do nothing &lt;/SPAN&gt;
    &lt;SPAN&gt;Else&lt;/SPAN&gt;
        &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;ensure this part has a flat pattern&lt;/SPAN&gt;
        &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSMDef&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;SheetMetalComponentDefinition&lt;/SPAN&gt;
        &lt;SPAN&gt;oSMDef&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;oPartDoc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;
        &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oSMDef&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FlatPattern&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt; 
        &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;create flat pattern&lt;/SPAN&gt;
        &lt;SPAN&gt;oSMDef&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Unfold&lt;/SPAN&gt;
        &lt;SPAN&gt;oSMDef&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FlatPattern&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ExitEdit&lt;/SPAN&gt;
        &lt;SPAN&gt;oSMDef&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FlatPattern&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FlipBaseFace&lt;/SPAN&gt;
        &lt;SPAN&gt;Else&lt;/SPAN&gt;
        &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;do nothing&lt;/SPAN&gt;
        &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt; 
    &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
    
    &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;Se define la ubicacion del Template&lt;/SPAN&gt;
    &lt;SPAN&gt;oDrawingDoc&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Documents&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Add&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;kDrawingDocumentObject&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;O:\Operaciones\Maquinado\OTs\FFA-01-19 Dibujo estandar.idw&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
    &lt;SPAN&gt;oSheet&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;oDrawingDoc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Sheets&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Item&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
    
 &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; Create a new NameValueMap object&lt;/SPAN&gt;
  &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oBaseViewOptions&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;NameValueMap&lt;/SPAN&gt;
  &lt;SPAN&gt;oBaseViewOptions&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;CreateNameValueMap&lt;/SPAN&gt;
 
 &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;True = folded view  False = flat pattern view&lt;/SPAN&gt;
  &lt;SPAN&gt;oBaseViewOptions&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Add&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;SheetMetalFoldedModel&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;False&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; 
   
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;Se define el punto inferior izquierdo para cada una de las vistas&lt;/SPAN&gt;
&lt;SPAN&gt;oPoint1&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Cre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t;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;CreatePoint2d&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;28&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;20&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; iso&lt;/SPAN&gt;

 &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; Se abre un sketch para generar los textos&lt;/SPAN&gt;
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSketch&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingSketch&lt;/SPAN&gt;
        &lt;SPAN&gt;oSketch&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;oDrawingDoc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Sketches&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Add&lt;/SPAN&gt;
    
    &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; Open the sketch for edit so the text boxes can be created.&lt;/SPAN&gt;
    &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; This is only required for drawing sketches, not part.&lt;/SPAN&gt;
    &lt;SPAN&gt;oSketch&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Edit&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;oTG&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;
        
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; Se define el texto y posiciona el texto Medidas de corte&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;sText1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;     


    &lt;SPAN&gt;sText1&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Medidas de corte &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oTextBox1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;inventor&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TextBox&lt;/SPAN&gt;
        &lt;SPAN&gt;oTextBox1&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;oSketch&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TextBoxes&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;AddFitted&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;oTG&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;CreatePoint2d&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;36&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;24&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;sText1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
        
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; Se define y posiciona el texto con los valores de bloque&lt;/SPAN&gt;
  
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;sText&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;     


    &lt;SPAN&gt;sText&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt; X &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;medidaenx&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;  Y&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;medidaeny&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;  Z&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;medidaenz&lt;/SPAN&gt;
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oTextBox&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;inventor&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TextBox&lt;/SPAN&gt;
        &lt;SPAN&gt;oTextBox&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;oSketch&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TextBoxes&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;AddFitted&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;oTG&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;CreatePoint2d&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;36&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;23&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;sText&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; Se define y pocisiona el texto con el nombre del archivo   &lt;/SPAN&gt;
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oTextbox2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;inventor&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Textbox&lt;/SPAN&gt;
        &lt;SPAN&gt;oTextbox2&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;oSketch&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TextBoxes&lt;/SPAN&g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AN&gt;  
&lt;SPAN&gt;oView4&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;AddProjectedView&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;oBaseView&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;oPoint4&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;kHiddenLineDrawingViewStyle&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ViewScale&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;1.15&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;  

&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; Se cierra el Sketch&lt;/SPAN&gt;
&lt;SPAN&gt;oSketch&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ExitEdit&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 23:23:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/11072428#M46362</guid>
      <dc:creator>benigno.martinezvaldez</dc:creator>
      <dc:date>2022-03-30T23:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of overall dimension code</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/11480639#M46363</link>
      <description>&lt;P&gt;hi &lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5011186" target="_blank"&gt;@JelteDeJong&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;, i found this code in your webpage, this works.&lt;BR /&gt;but i would like when the rule generate the dimension, add a text.&lt;BR /&gt;see image:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luispacheco6P5Y8_0-1665679368976.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1126999iE327B95306B3666D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="luispacheco6P5Y8_0-1665679368976.png" alt="luispacheco6P5Y8_0-1665679368976.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i´ve been trying for a several days, but i could not do it. Can you help me? Than you.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 16:43:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/modification-of-overall-dimension-code/m-p/11480639#M46363</guid>
      <dc:creator>Luis_Pacheco_3D</dc:creator>
      <dc:date>2022-10-13T16:43:23Z</dc:date>
    </item>
  </channel>
</rss>

