SVG file during code execution i am getting dialog box Svg file Transforms are expanded i would like to close this popup through code it is possible
Please help me.
var exportOptions = new ExportOptionsSVG();
var type = ExportType.SVG;
var fileSpec = new File(sourceDoc.path);
exportOptions.embedRasterImages = true;
exportOptions.embedAllFonts = false;
exportOptions.fontSubsetting = SVGFontSubsetting.None;
exportOptions.preserveEditability = true;
sourceDoc.exportFile( fileSpec, type, exportOptions );
There may be a preferences key for this.
Go to your "Adobe Illustrator Prefs" file in your User > AppData > Roaming folder on Windows, or User > Library (have to hold option key then, the Library item appears in the "Go" menu of Finder) > Preferences > Adobe Illustrator 22 Settings
If your /O_DialogExpanded 0 line shows a 1 instead of 0, (assuming you never checked the "do not show again" checkbox), then this could be the preference.
If so, then you can try to see if the preference key works:
Manual method is ok , but through code snippet is possible .
Hello sir ,
I have corrected as per your instructions , today i am facing about 200 svg files this same issue (Transforms are Expanded) can you able to provide me another solution.
I don't have anything else - as far as I know, even when you set this dialog manually one time, it should apply to all future instances. If this isn't working on this basic level, not sure what could be done!