Skip to main content
WIDSnonamer
Inspiring
August 22, 2022
Answered

Keeping Layers in placed Items - or other workarounds

  • August 22, 2022
  • 3 replies
  • 372 views

Hey guys, 
I have encountered an issue that i cant wrap my head around. I have a Script that creates files and saves them, opens a new File and places them on it for our printer. After changes in my workflow i need specific parameters saved in my files -  i planned to do it through layers and layernames. Unfortunately after you place and embed a file all the layer and vector data is lost.  I have 2 workarounds for this in my mind:


  1.  I color elements and go through all pathElements on the big file and move them to layers - but this is resource heavy and the layer management is also bound to code changes.

  2.  I open the single files and copy them in the big file with the "Remember Layers on Paste" option - but its time consuming and i would need to add bounding boxes for the files, which the placedItem element already has. Also in order to position them i wound need to group the elements, which again destroys the layers.

    Am I missing something or is there maybe an easier and more elegant solution to this problem?

    Thanks in advance!
This topic has been closed for replies.

3 replies

Ton Frederiks
Community Expert
Ton FrederiksCommunity ExpertCorrect answer
Community Expert
August 22, 2022
Ton Frederiks
Community Expert
Community Expert
August 22, 2022

As far as I know placing an Illustrator file places the PDF part and loses lots of funtionality.

Creating an empty "bounding box" and Copy and Paste (with remembers layers) looks like the best option.

WIDSnonamer
Inspiring
August 29, 2022

Well,in that case i run into a different problem. After pasting the elements into the file I'm not able to set the position without grouping the elements and setting the position for the GroupItem. The group would destroy my layers. And moving each element in the selection is to risky. Is there a function i am missing that could achive that?

WIDSnonamer
Inspiring
August 22, 2022

Similar topics i found so far:

PlacedItems Layers 
Paste Remember Layers