Jump to content
You must now use your email address to sign in [click for more info] ×

Can slices control which layers are visible?


Recommended Posts

I'm new to slices in Designer. I've drawn a large map and I want to slices of it without including the place names not relevant to the current slice.

My Layers set up is essentially:
- Slice 1 - Names
- Slice 2 - Names
- Slice 3 - Names

Imagine a map of the United States. I want to export a slice that includes a couple of states with their city names visible. But although the slice will include parts of neighbouring states, I don't want their city names visible.

It seems that it's up to me to have to toggle layer visibility, export that single slice, toggle the layers again, export that single slice, etc. Is there no way to associate layer visibility with slices or am I missing something?

Thanks,

Mike

Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF

My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro)

Link to comment
Share on other sites

10 minutes ago, MikeTO said:

It seems that it's up to me to have to toggle layer visibility, export that single slice, toggle the layers again, export that single slice, etc. Is there no way to associate layer visibility with slices or am I missing something?

Not sure if I correctly understood what you are mean here visibility wise, or if you meant something else instead, but you usually can toggle on/off visibility on the usual layers panel and export persona slices layer panel independently of each other here.

See also related ...

 

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

In this example I want to export two slices, the red box and the blue box. I want the red slice to have just the red circles visible and the blue slice to have just the blue circles visible. I think I have to use the Layers panel (export persona) to turn off the visibility of the blue circles before exporting the red slice, and to turn them back on and turn off the red circles before exporting the blue slice. Is this correct?

I have 8 of these overlapping slices and I export them periodically. I'd like to be able to associate which layers should be visible with the slices so I could export them all in one go rather than turning on and off layers and exporting a single slice at a time.

Thanks

1562066013_Screenshot2023-05-20at12_17_31PM.png.ada4f923802aa022b434cdfc84a3de8f.png

Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF

My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro)

Link to comment
Share on other sites

It really depends on how complex the work is. You might be able to achieve it with groups for the dots but then you lose the borders. This is a situation where the simple example you show is perhaps too simple. The result made with groups is great for exporting all at one go. If you want the borders then it may be more difficult. I don't want to have to guess at what you actually need. We would both waste a lot of time.

104284345_ScreenShot2023-05-20at9_40_42AM.png.a4e2e4adb29ec4585e467d662fbc46ce.png

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

34 minutes ago, MikeTO said:

In this example I want to export two slices, the red box and the blue box. I want the red slice to have just the red circles visible and the blue slice to have just the blue circles visible. I think I have to use the Layers panel (export persona) to turn off the visibility of the blue circles before exporting the red slice, and to turn them back on and turn off the red circles before exporting the blue slice. Is this correct?

Yes that's correct! - As the little Slices panel thumb icons show (slice1 & slice2) ...

slice1.jpg.5cb8cb945e6f5ca300f05f8f1faa060a.jpg

slice2.jpg.c1fb486ee40094229d99ec932c956d60.jpg

 

34 minutes ago, MikeTO said:

I have 8 of these overlapping slices and I export them periodically. I'd like to be able to associate which layers should be visible with the slices so I could export them all in one go rather than turning on and off layers and exporting a single slice at a time.

That's a difficult to setup part, as the export layers panel items visibility also do influence what the slice will contain (showup at all). - As can be seen in your above sketched example even grouping related items together (red circles vs blue circles) would need some on/off toggling here, as the items in the rects do overlap to some degree.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

9 hours ago, v_kyr said:

Yes that's correct! - As the little Slices panel thumb icons show (slice1 & slice2) ...

That's a difficult to setup part, as the export layers panel items visibility also do influence what the slice will contain (showup at all). - As can be seen in your above sketched example even grouping related items together (red circles vs blue circles) would need some on/off toggling here, as the items in the rects do overlap to some degree.

Thanks. I think I understood it okay then, I have to toggle visibility of all the layers for each slice - my map is considerably more complex than the example I shared here, I have to toggle off various groups for each slice and there's no easy way to group them.

If we had scripting I could solve this...

Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF

My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro)

Link to comment
Share on other sites

7 hours ago, MikeTO said:

If we had scripting I could solve this...

Jip, with scripting it should be easy to keep dependent related objects (IDs) in some suitable data structure and then toggling all of those on/off on demand. - But actually without scripting it will be difficult to handle that for very complex (many related and possibly overlapping layer) drawings.

So dependent on the complexity and amount (count & size) of layers in your drawing, it might be handling wise overall easier to keep another named whole grouped and visibility adjusted copy/duplicate of your drawing in an ADe doc and then just pre-toggle on/of the needed one in the common layers panel. So that one is then taken into account for the export slicing purposes.

So like I did for these here in order to toggle on/off specific calendar localizations ...

... though in your case it would be then ...

  • full map of the United States
  • map of the United States with partly specific city names
  • ...

... and you preactivate the right one (hiding the others) before switching over to export persona for further dealing with the slices then.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.