Jump to content
robert_muench

Import SVG / How to handle "Embedded Document" ?

Recommended Posts

Hi, I'm using artboards in a document that contains all my graphics for our web-site. On the web we use SVG. Hence, I drag & drop some SVG files into AD and export from there. When adding an SVG via drag & drop, it gets added to the artboard as [Embedded document].

 

Some questions:

  1. How can I copy such a thing? When I do it the normal way and I edit the copy, the original gets changed too.
     
  2. Is there a way I can convert the embedded document into a normal group?
     
  3. Any documentation available about embedded documents? How to best edit these etc.?

Share this post


Link to post
Share on other sites

Hi robert_muench,

Welcome to Affinity Forums :)

Embedded documents are just that - a layer that contains a full document enclosed inside - but that act like a single object to which you can apply adjustments, layer effects etc. To edit it double-click the embedded document on canvas (this will open it in a new document tab) make your changes and close the embedded document tab. The embedded document in your original source document will be updated accordingly to reflect the changes you have made. Currently there's no way to convert an embedded document into objects. You have to either open the SVG using the  File ▸ Open... command and copy the contents (layers/objects) of the file to the document you want, or double click the embedded document on canvas to open it in a new document tab, copy its contents (layer/objects) to the clipboard and then paste them in the original document deleting the embedded doc afterwards.

Share this post


Link to post
Share on other sites

To edit it double-click the embedded document on canvas (this will open it in a new document tab) make your changes and close the embedded document tab. The embedded document in your original source document will be updated accordingly to reflect the changes you have made.

What happens to the original source document if you do not save the changes made in its own tab to disk & then save the document it is embedded in?


Affinity Photo 1.7.1, Affinity Designer 1.7.1, Affinity Publisher 1.7.1; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.1.143 & Affinity Designer 1.7.1.1 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites

R C-R,

You don't need to save changes made to the embedded document in its own tab. As soon as you change something, the original document where the embedded document is contained is immediately updated.

Thanks for the info. I am not sure that is the idea behavior but perhaps it is the only way it can be implemented ....


Affinity Photo 1.7.1, Affinity Designer 1.7.1, Affinity Publisher 1.7.1; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.1.143 & Affinity Designer 1.7.1.1 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites

This behaviour allows you to work on a document (the design itself) and preview it in another in real-time (a mockup for example).

 

I understand that. But I think I misunderstood your answer about not needing to save changes made to the embedded document as meaning that those changes would be saved to that document's file automatically, not just updated in the tab. That is what I was asking about, but not clearly enough for you to see that.

 

Sorry for the misunderstanding.


Affinity Photo 1.7.1, Affinity Designer 1.7.1, Affinity Publisher 1.7.1; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.1.143 & Affinity Designer 1.7.1.1 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites

About saving the changes, I would love that when editing the embedded document, hitting cmd + S would save the source file. Right now I feel really insecure when I need to work more then a few minutes on the embedded document and having to switch to the source file and save breaks the workflow (worse, my reflex is to hit cmd + S but it does nothing).

 

It would be nice to be able to import the embedded document in one clic ! It would directly import all layers from the embedded file and apply the size, skew, and other effects that have beed applied to the file.

 

I also would like to see a way to export and embedded file directly as an affinity designer file (see dedicated post).

Share this post


Link to post
Share on other sites

So I am rather new to using Affinity Designer, and so far I am enjoying it.  I have a small issue regarding this topic.

 

I am not a true graphic artist.  But I use AD for some music type work. Creating music graphics and such, based off of music graphic exports from music notation software.  I am not sure if I am doing something wrong, but here is the problem:

 

I have imported an embedded document (both an SVG file, and the previous Affinity Designer file itself).  It is a rather blank music staff with a text description above such "A min".  Next to it, I have a drawn keyboard layout (showing the notes used).

 

When I export the file as an SVG, when I open it my music notation software, where the embedded file would be, is a black rectangle.  Almost as if AD wouldn't export the embedded document into the new document.  If I copy and paste from the original file into the current (as opposed to placing the graphic, or embedding it), the file exports perfectly.

 

Is there a function to turn on?  Or is this by design?

 

Robby

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×