Skip to main content
Participating Frequently
July 17, 2024
Question

Alignment of stroke for graphics saved in the library

  • July 17, 2024
  • 9 replies
  • 738 views

Hello, I am starting a project of creating floor plans in Illustrator. I had intended to create elements such as a windows, doors and furniture and save as library graphics. The problem I have encountered is when you save the graphic into the library, the stroke is moved to the outside  (as opposed to the centre which is what I use in my work). This means I have an issue when aligning objects. The objects are aligned correctly when looking at the outline view (see right in attached file) but not when looking at the preview view (see left). When using 'align to point', this is not working as the strokes are aligned differently. I hope this all makes sense. I just need both views to be correct, so I can be sure that everything is aligned correctly. Thanks for any guidance.

This topic has been closed for replies.

9 replies

Brad @ Roaring Mouse
Community Expert
Community Expert
July 17, 2024

It appears your objects are placing according to the bounding box of the library graphic. Your stroke width is increasing the size of the bounding box accordingly, so when your try and align the object it's using this larger bounding box, hence your strokes aren't where you are expecting them to be. If you are simply dragging from the Libary, it "links" the object (which is why you see a box with an X, instead of incorporating it as a copy of the vector objects. To do that, hold down the option/alt-key when you drag the object from the library. (or right-clock and select "place copy")

Brad @ Roaring Mouse
Community Expert
Community Expert
July 17, 2024
Participating Frequently
July 17, 2024

Hello Brad and Ton
I appreciate your time and expertise.

The issue I have is that I want the graphic to be linked. I probably should have told you what I'm aiming to achieve.
The floorplans I will be putting together (I won't be starting until next week but i want to tie down the workflow by the weekend) will comprise of a number of graphic elements (furniture, doors and windows) which I will probably need to edit once the client messes about with the design. So I want a master graphic for each item, which I can edit the size, stroke and stroke colour. I have used symbols in the past but I have been told libraries are the way to go. I will look into the issue tomorrow.  Thanks again.

 

Ton Frederiks
Community Expert
Community Expert
July 17, 2024

Can you share an example of the problem?

Save the .ai file as .pdf to attach it in a forum post.

Participating Frequently
July 17, 2024

Hello Tom

 

Thanks for getting back to me so promptly. Your help is much appreciated.

I am attaching the ai file with the issue outlined.

Hope this helps.

 

Thanks again.
Sean