Copy link to clipboard
Copied
Hi,
I need to change stroke's effect to Difference' and I could not find anything for effects in the OMV under StrokeStyle or anything under Stroke. How do I assign it, or am I'm looking in the wrong place at all.
Thank you for your help.
Yulia
Yulia,
maybe you have more luck looking here:
http://jongware.mit.edu/idcs5/pc_BlendingSetting.html
use it like that:
yourObject.strokeTransparencySettings.blendingSettings.blendMode = BlendMode.DIFFERENCE;
Uwe
Copy link to clipboard
Copied
Yulia,
maybe you have more luck looking here:
http://jongware.mit.edu/idcs5/pc_BlendingSetting.html
use it like that:
yourObject.strokeTransparencySettings.blendingSettings.blendMode = BlendMode.DIFFERENCE;
Uwe
Copy link to clipboard
Copied
Love it, thank you, guys.
Copy link to clipboard
Copied
Hi,
Well, unfortunately, you are looking at wrong place.
StrokeStyle is managing Dashed/Dotted/Striped strokes, and not for managing stroke effects.
You want to change stroke transparency settings, so the code would look like this:
app.selection[0].strokeTransparencySettings.blendingSettings.blendMode = BlendMode.DIFFERENCE;
Hope that helps.
--
Marijan (tomaxxi)
http://tomaxxi.com
Find more inspiration, events, and resources on the new Adobe Community
Explore Now