<?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: SketchImage transparency via API in Inventor 2019 in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8200035#M85611</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Thank you for reply.&lt;/P&gt;&lt;P&gt;Image in a&lt;SPAN&gt;ttachment.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Aug 2018 01:50:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-15T01:50:57Z</dc:date>
    <item>
      <title>SketchImage transparency via API in Inventor 2019</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8194984#M85609</link>
      <description>&lt;P&gt;We have problems with setting SketchImage transparency via API in Inventor 2019&lt;BR /&gt;In previous versions we just set SketchImage.Transparency property to true and it's works in most cases&lt;/P&gt;&lt;P&gt;Code example:&lt;/P&gt;&lt;PRE&gt;PlanarSketch sketch = compDef.Sketches.AddWithOrientation(compDef.WorkPlanes[3], compDef.WorkAxes[1], true, true, compDef.WorkPoints[1]);
SketchImage img = sketch.SketchImages.Add(pngFileName, ptOrigin);
img.Transparent = true;&lt;/PRE&gt;&lt;P&gt;But in Inventor 2019 SketchImage Transparency was improved and now we can set Chroma Key for image mask and even use alpha channel via UI.&lt;BR /&gt;We can't choose "Use Alpha" option or set Chroma Key for SketchImage via Inventor 2019 API, only Transparent property available (as in previous versions). Setting Transparency property to true don't apply transparency, since chroma key is white by default for our images. In Inventor 2018 same code works fine.&lt;/P&gt;&lt;P&gt;Is there any way to choose Use Alpha option or set chroma key via Inventor 2019 API or any workaround for these options?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 09:48:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8194984#M85609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-13T09:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: SketchImage transparency via API in Inventor 2019</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8198309#M85610</link>
      <description>&lt;P&gt;There is no API for the new options yet. But setting the Transparent property should work the same as it did in 2018. Maybe 2019 has a problem with some images. Can you post an image file that demonstrates the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:14:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8198309#M85610</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2018-08-14T13:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: SketchImage transparency via API in Inventor 2019</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8200035#M85611</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Thank you for reply.&lt;/P&gt;&lt;P&gt;Image in a&lt;SPAN&gt;ttachment.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 01:50:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8200035#M85611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-15T01:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: SketchImage transparency via API in Inventor 2019</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8201726#M85612</link>
      <description>&lt;P&gt;I see the problem now. Thanks for reporting this. It has an internal issue number: INVGEN-19288.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 16:38:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8201726#M85612</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2018-08-15T16:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: SketchImage transparency via API in Inventor 2019</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8736055#M85613</link>
      <description>&lt;P&gt;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that issue is fixed in Inventor 2020 and Inventor 2020. Can you please verify the same and confirm it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 05:14:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/sketchimage-transparency-via-api-in-inventor-2019/m-p/8736055#M85613</guid>
      <dc:creator>chandra.shekar.g</dc:creator>
      <dc:date>2019-04-17T05:14:05Z</dc:date>
    </item>
  </channel>
</rss>

