<?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 Change the flip parameter in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/change-the-flip-parameter/m-p/10379959#M8640</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;LI-CODE lang="general"&gt;jnt :adsk.fusion.Joint = components.itemByName('MUVPAssemby').joints.itemByName('Rigid2')
offset :adsk.fusion.ModelParameter = jnt.offset

offset.expression = str(-int(hSp[:-3]))
app.activeViewport.refresh()&lt;/LI-CODE&gt;&lt;P&gt;Here's a part of my code I have changed the parameter of offset. And I wanted to ask you If you know hot to change the Flip parameter just the same way?&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jun 2021 15:57:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-10T15:57:57Z</dc:date>
    <item>
      <title>Change the flip parameter</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/change-the-flip-parameter/m-p/10379959#M8640</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;LI-CODE lang="general"&gt;jnt :adsk.fusion.Joint = components.itemByName('MUVPAssemby').joints.itemByName('Rigid2')
offset :adsk.fusion.ModelParameter = jnt.offset

offset.expression = str(-int(hSp[:-3]))
app.activeViewport.refresh()&lt;/LI-CODE&gt;&lt;P&gt;Here's a part of my code I have changed the parameter of offset. And I wanted to ask you If you know hot to change the Flip parameter just the same way?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 15:57:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/change-the-flip-parameter/m-p/10379959#M8640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-10T15:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change the flip parameter</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/change-the-flip-parameter/m-p/10381332#M8641</link>
      <description>&lt;P&gt;The Joint object supports the isFlipped property.&amp;nbsp; It's a read-write property so you can get and set the flipped state.&amp;nbsp; The line below can be added to yours to flip the direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;jnt.isFlipped = not jnt.isFlipped&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Jun 2021 02:49:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/change-the-flip-parameter/m-p/10381332#M8641</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2021-06-11T02:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change the flip parameter</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/change-the-flip-parameter/m-p/10382062#M8642</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5741855"&gt;@BrianEkins&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;When I tried using Fusion360 Ver. 2.0.10253, it gave me errors in all cases.&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;    jnt.isFlipped = not jnt.isFlipped
    jnt.isFlipped = True
    jnt.isFlipped = False&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@Anonymous&amp;nbsp;.&lt;BR /&gt;You should be able to get to your goal faster if you ask your question in the forum rather than in a private message.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 09:12:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/change-the-flip-parameter/m-p/10382062#M8642</guid>
      <dc:creator>kandennti</dc:creator>
      <dc:date>2021-06-11T09:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Change the flip parameter</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/change-the-flip-parameter/m-p/10383890#M8643</link>
      <description>&lt;P&gt;Most edits to a joint require the timeline to be rolled to before the joint.&amp;nbsp; Here's a snippet that demonstrates the workflow by flipping a selected joint.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Get a joint by having the user select one.
joint: adsk.fusion.Joint = ui.selectEntity('Select a joint.', 'Joints').entity

# Get the current position of the marker in the timeline.
tlPstn = des.timeline.markerPosition

# Reposition the marker to before the joint.
joint.timelineObject.rollTo(True)

# Change the isFlipped property.
joint.isFlipped = not joint.isFlipped

# Reposition the timeline marker to the original position.
des.timeline.markerPosition = tlPstn&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Jun 2021 22:46:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/change-the-flip-parameter/m-p/10383890#M8643</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2021-06-11T22:46:22Z</dc:date>
    </item>
  </channel>
</rss>

