SketchImage transparency via API in Inventor 2019

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We have problems with setting SketchImage transparency via API in Inventor 2019
In previous versions we just set SketchImage.Transparency property to true and it's works in most cases
Code example:
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;
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.
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.
Is there any way to choose Use Alpha option or set chroma key via Inventor 2019 API or any workaround for these options?