<?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 Set Shape Factors by code in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/set-shape-factors-by-code/m-p/13600596#M94429</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 24.0.8 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;In my simulation, the robot needs to change the gripper appearance during runtime (specifically at Robot Joint6).&lt;/P&gt;
 &lt;P&gt;However, after changing the appearance, I also need to adjust the gripper's size and position accordingly using shape factors, as shown in the image.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;How can I control this dynamically through code during the simulation?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1745459738048.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527314i99CFF49C0DAFCDCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="1745459738048.png" alt="1745459738048.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1745460373065.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527315i9F66CB0A9BB86BA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1745460373065.png" alt="1745460373065.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 24 Apr 2025 02:13:01 GMT</pubDate>
    <dc:creator>pretty0329</dc:creator>
    <dc:date>2025-04-24T02:13:01Z</dc:date>
    <item>
      <title>Set Shape Factors by code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-shape-factors-by-code/m-p/13600596#M94429</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 24.0.8 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;In my simulation, the robot needs to change the gripper appearance during runtime (specifically at Robot Joint6).&lt;/P&gt;
 &lt;P&gt;However, after changing the appearance, I also need to adjust the gripper's size and position accordingly using shape factors, as shown in the image.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;How can I control this dynamically through code during the simulation?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1745459738048.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527314i99CFF49C0DAFCDCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="1745459738048.png" alt="1745459738048.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1745460373065.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527315i9F66CB0A9BB86BA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1745460373065.png" alt="1745460373065.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Apr 2025 02:13:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-shape-factors-by-code/m-p/13600596#M94429</guid>
      <dc:creator>pretty0329</dc:creator>
      <dc:date>2025-04-24T02:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Shape Factors by code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-shape-factors-by-code/m-p/13600597#M94430</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can access the nodes where the shape factor values are stored with &lt;EM&gt;offset_(object). &lt;/EM&gt;The _ is meant as a placeholder for the various possible options here. Namely x, y, z, sx, sy, sz, rx, ry, rz. These access the position, &lt;STRONG&gt;s&lt;/STRONG&gt;ize and &lt;STRONG&gt;r&lt;/STRONG&gt;otation&lt;EM&gt; &lt;/EM&gt;shape factor for the x, y and z axis respectively.&lt;/P&gt;&lt;P&gt;For example, setting the size offset along the x axis would look like this.&lt;/P&gt;&lt;PRE&gt;Object robot = ...;&lt;BR /&gt;offsetsx(robot).value = ...;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Apr 2025 06:09:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-shape-factors-by-code/m-p/13600597#M94430</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-04-24T06:09:40Z</dc:date>
    </item>
  </channel>
</rss>

