Has anyone created a size selection to artboard or a size artboard to selection extension?
Hmm not sure if I understand the use case clearly? Could you elaborate that a bit further?
In my case, Iām creating a new project and added an image to it that is larger or smaller than the current artboard.
With this command I would select the image and choose, āSize artboard to imageā. The artboard and the image are now the same size where the artboard matches the selection size. The alternative to this is, āSize the image to the artboardā where the selection is resized to match the artboard.
ah! I actually built a sample that does something like that: plugin-samples/sg-fit-to-object/main.js at 757d67a933bc37d301162abfc4070a70a8ba8a40 Ā· AdobeXD/plugin-samples Ā· GitHub
This is not in the Plugin Manager though
Nice! Yes the fit to artboard is what Iām looking for.