Script for Create Shapes from Vector Layer
Good Day All!
I`m trying to write a small script that will create shapes from vector layers, but I cannot seem to find right command for it. Assuming layer is already selected I tried different variations I`ve looked throught internet and this forum
1. app.executeCommand(app.findMenuCommandId('Create Shapes from Vector Layer'));
2. app.executeCommand(3781) - plus I dont really like this option as with each new version these numbers are getting changed sometimes (from what I undersood)
3. I`ve tried few variations of code related to ADBE Vector Shape - Group but none of them seemed to work for me. I believe solution is so close but I just can`t get to it.
4. Some old variations of code found on this forum that do not seem to work anymore
Hoping for your help!
Many thanks!
