<?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: To scale sketch. in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5826669#M20804</link>
    <description>&lt;P&gt;I have to take one thing back that I said.&amp;nbsp; The Scale feature is working as expected on a mesh body.&amp;nbsp; In my original test, the mesh body I created was in a base feature, not in a regular component.&amp;nbsp; When I created the mesh in a regular component within a non-parametric design, scale is working.&amp;nbsp; Move still isn't working and I'll log a bug for that.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2015 23:07:46 GMT</pubDate>
    <dc:creator>ekinsb</dc:creator>
    <dc:date>2015-09-21T23:07:46Z</dc:date>
    <item>
      <title>To scale sketch.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5821492#M20799</link>
      <description>&lt;P&gt;Good day.&lt;/P&gt;&lt;P&gt;I need to scale my sketch.&lt;/P&gt;&lt;P&gt;When I use this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;contour = rootComponent.sketches.item(0)
scales = rootComponent.features.scaleFeatures
scaleFactor = adsk.core.ValueInput.createByReal(1.4)
inputEntity = adsk.core.ObjectCollection.create()
inputEntity.add(contour)
basePt = contour.sketchPoints.item(0)
scaleUniformInput = scales.createInput(inputEntity, basePt, scaleFactor)
scaleUniform = scales.add(scaleUniformInput)&lt;/PRE&gt;&lt;P&gt;I want to scale sketch in 140%, but I get sketch consists from two parts. First is the same sketch, second is much bigger than 140%. &amp;nbsp;In UI Scale &amp;nbsp;value 1.4 works correctly.&lt;/P&gt;&lt;P&gt;What I have to do for getting only resulting sketch, and what&amp;nbsp;I have to set ValueInput to zoom sketch in 140%?&lt;/P&gt;&lt;P&gt;Also, there is no way to scale meshbody, is there?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 14:09:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5821492#M20799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-17T14:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: To scale sketch.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5823605#M20800</link>
      <description>&lt;P&gt;I just tested your code with the current release and don't see the same behavior that you're describing although I do see a different problem where the resulting&amp;nbsp;scaled sketch doesn't result in a profile.&amp;nbsp; I get the same behavior when I do the scale interactively.&amp;nbsp; I also tested it using&amp;nbsp;latest update which is scheduled to go live this weekend, (except for the Mac App Store version, which will be a bit later).&amp;nbsp; Anyway, with this version&amp;nbsp;I get a good result, so it looks like some fixes have been made in the scale feature.&amp;nbsp; I suggest waiting for the update this weekend and see if that solves the problem you're having.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2015 17:53:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5823605#M20800</guid>
      <dc:creator>ekinsb</dc:creator>
      <dc:date>2015-09-18T17:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: To scale sketch.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5825424#M20801</link>
      <description>&lt;P&gt;Thank you. You are completely right. It works correctly with new update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, suggest me, are there&amp;nbsp;methods to scale and/or move meshbody? Similar to methods for sketch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 09:40:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5825424#M20801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-21T09:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: To scale sketch.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5826630#M20802</link>
      <description>&lt;P&gt;That's great news.&amp;nbsp; Thanks for letting me know.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 22:20:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5826630#M20802</guid>
      <dc:creator>ekinsb</dc:creator>
      <dc:date>2015-09-21T22:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: To scale sketch.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5826657#M20803</link>
      <description>&lt;P&gt;And regarding your other question about scaling and moving meshbodies; Fusion only supports the manipulation of mesh bodies in non-parametric environments.&amp;nbsp; That is you can only import and manipluate mesh bodies if the document is set to not capture design history, the mesh is in a base feature within a parametric design, or the mesh is in a form feature.&amp;nbsp; The API does support the first of the three because you can work in a document that id not capturing design history, however when I try to create a move or scale feature on the mesh body I don't get any errors but the mesh body is not changing either.&amp;nbsp; I'll log a defect for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the case where the mesh body exists within a form or base feature, we still need more API to be able to manipulate anything that's owned by either of those features.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 22:57:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5826657#M20803</guid>
      <dc:creator>ekinsb</dc:creator>
      <dc:date>2015-09-21T22:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: To scale sketch.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5826669#M20804</link>
      <description>&lt;P&gt;I have to take one thing back that I said.&amp;nbsp; The Scale feature is working as expected on a mesh body.&amp;nbsp; In my original test, the mesh body I created was in a base feature, not in a regular component.&amp;nbsp; When I created the mesh in a regular component within a non-parametric design, scale is working.&amp;nbsp; Move still isn't working and I'll log a bug for that.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 23:07:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/to-scale-sketch/m-p/5826669#M20804</guid>
      <dc:creator>ekinsb</dc:creator>
      <dc:date>2015-09-21T23:07:46Z</dc:date>
    </item>
  </channel>
</rss>

