<?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 Is there an option to display x,y,z size values in Model view? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486725#M5105</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.0.1 ]&lt;/I&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2018 19:30:04 GMT</pubDate>
    <dc:creator>kari_payton</dc:creator>
    <dc:date>2018-01-08T19:30:04Z</dc:date>
    <item>
      <title>Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486725#M5105</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.0.1 ]&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 19:30:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486725#M5105</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2018-01-08T19:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486726#M5106</link>
      <description>&lt;P&gt;I'm not sure what you're envisioning. Could you be more specific?&lt;/P&gt;&lt;P&gt;You can drag text objects into the model view and then tie them to the size values of an object, but the Quick Properties panel already displays those values live.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 21:54:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486726#M5106</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2018-01-08T21:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486727#M5107</link>
      <description>&lt;P&gt;yeah that's what i'm referring to. i meant if i could display them on each object instead of adding them manually. Like on a CAD drawing or 3D model you can "add dimensions" for objects. Make sense? &lt;A rel="user" href="https://answers.flexsim.com/users/87/matthew.g.html" nodeid="87"&gt;@Matthew Gillespie&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 22:33:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486727#M5107</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2018-01-08T22:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486728#M5108</link>
      <description>&lt;P&gt;You could use the custom draw trigger to draw the dimensions next to the objects themselves.&lt;/P&gt;&lt;P&gt;In the attached model you'll find some old code that I "FlexSim 2018-ified". It could use some tweaking, mostly in the alignment of the texts, because getdrawtextmetric seems to behave differently than I expected and I didn't bother looking into that, but hopefully it'll give you the right idea.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 10:37:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486728#M5108</guid>
      <dc:creator>mischa_spelt</dc:creator>
      <dc:date>2018-01-09T10:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486729#M5109</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/469/mischa.s.html" nodeid="469"&gt;@Mischa Spelt&lt;/A&gt; thanks but I couldn't get it to work for objects where I changed the object's shape. &lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 15:15:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486729#M5109</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2018-01-09T15:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486730#M5110</link>
      <description>&lt;P&gt;How do you mean? This code should work on any object - it does not use the shape, just the size of the bounding box (spatialsx, y and z).&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 16:17:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486730#M5110</guid>
      <dc:creator>mischa_spelt</dc:creator>
      <dc:date>2018-01-09T16:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486731#M5111</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="10310-dimensions.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1496547i1E0B863491B9784B/image-size/large?v=v2&amp;amp;px=999" role="button" title="10310-dimensions.png" alt="10310-dimensions.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i used the function object.size and it returned an array for the object on the left. But when i run your code it doesn't display the values like you see on the queue.  &lt;A rel="user" href="https://answers.flexsim.com/users/469/mischa.s.html" nodeid="469"&gt;@Mischa Spelt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 16:54:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486731#M5111</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2018-01-09T16:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486732#M5112</link>
      <description>&lt;P&gt;If you click the object, then where is the yellow box? Does the shape happen to extend past the object boundaries, in which case it would cover the drawtext result?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 16:59:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486732#M5112</guid>
      <dc:creator>mischa_spelt</dc:creator>
      <dc:date>2018-01-09T16:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486733#M5113</link>
      <description>&lt;P&gt;&lt;A id="10314" href="https://answers.flexsim.com/storage/temp/10314-10296-showdimensions-2-with-mold.fsm"&gt;10296-showdimensions-2-with-mold.fsm&lt;/A&gt; &lt;A rel="user" href="https://answers.flexsim.com/users/469/mischa.s.html" nodeid="469"&gt;@Mischa Spelt&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 17:40:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486733#M5113</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2018-01-09T17:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486734#M5114</link>
      <description>&lt;P&gt;
	The script in this model is adding the code to Fixed Resource objects.&lt;/P&gt;&lt;P&gt;
	Your shape isn't a fixed resource.&lt;/P&gt;&lt;P&gt;
	If you add the code to your shape's Custom Draw trigger, then it draws fine:&lt;/P&gt;
&lt;PRE&gt;DrawDimensions(current, view);
&lt;/PRE&gt;&lt;P&gt;
	Or remove the isclasstype() check on line 4 of the script and execute it again.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 20:50:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486734#M5114</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2018-01-09T20:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to display x,y,z size values in Model view?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486735#M5115</link>
      <description>&lt;P&gt;Yep, I added the check because the &lt;EM&gt;forobjecttreeunder&lt;/EM&gt; will also find all items in the Toolbox, for example, thereby adding the draw function to all Flow Bin items such as operators as well.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 09:57:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-there-an-option-to-display-x-y-z-size-values-in-model-view/m-p/13486735#M5115</guid>
      <dc:creator>mischa_spelt</dc:creator>
      <dc:date>2018-01-10T09:57:33Z</dc:date>
    </item>
  </channel>
</rss>

