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

Searching for blocks and changing their sizes


Recommended Posts

Hi all,

Maybe a dumb question… I might be a little tired these days…

Here is an example (the real doc has many many blocks)…

In this case, I want to select all the grey boxes that are 15mm long and make them 20mm long…

If I use select, I can select them all but then how can I change their length in one go ?

image.thumb.jpeg.1efb893963cd071def6c24994a40046d.jpeg

My third grey block in line one seem to be annoying me… I can't use the transformer tab…

image.jpeg.1debb341e2dc69ca48636b88f56f8e2b.jpeg

Thanks for your help…

Here is the test file :

test.afpub

MacBook Pro 16 pouces (3456 × 2234), 2021 / Apple M1 Pro / 16 Go / macOS Ventura Version 13.4.1 (22F82)
+ 31,5 pouces (2560 × 1440) + 27 pouces (1080 × 1920) + iPad (8th generation) / iPadOS 17.2 + Apple Pencil + 

Macmini6,2 Quad-Core Intel Core i7 16 Go / macOS Catalina version 10.15.7 (19H2026)
MacBookAir6,2 Intel Core i5 double cœur 4 Go / macOS Big Sur version 11.7.7 (20G1345)

Licence Universelle Affinity V2 updated to 2.3.0

Link to comment
Share on other sites

I think I found the way to do it :

image.jpeg.5eeb97f8a734f9a5a8ce63ca087948f1.jpeg

is that it ?

MacBook Pro 16 pouces (3456 × 2234), 2021 / Apple M1 Pro / 16 Go / macOS Ventura Version 13.4.1 (22F82)
+ 31,5 pouces (2560 × 1440) + 27 pouces (1080 × 1920) + iPad (8th generation) / iPadOS 17.2 + Apple Pencil + 

Macmini6,2 Quad-Core Intel Core i7 16 Go / macOS Catalina version 10.15.7 (19H2026)
MacBookAir6,2 Intel Core i5 double cœur 4 Go / macOS Big Sur version 11.7.7 (20G1345)

Licence Universelle Affinity V2 updated to 2.3.0

Link to comment
Share on other sites

I’m pretty sure that you cannot do this ‘en masse’.

You can select all of the grey boxes together, as long as they use the same fill colour (and you might also have other stuff selected which has the same fill colour), via menu “Select → Select Same.

However, you cannot change the absolute sizes of the selected layers at the same time in the Transform Panel as size modification with multiple selected layers is done on a relative basis. (Same goes for Transform Objects Separately, as far as I know.)

I’d be happy to be proven wrong though as this sort of thing has been requested a few times.

See here for one related discussion: https://forum.affinity.serif.com/index.php?/topic/152453-resize-multiple-objects-to-same-size/

Edited by GarryP
Added more details.
Link to comment
Share on other sites

Thanks you both @GarryP & @Murfee for answering.

While we're at it, I discovered that when I copy a grey block and paste it, I get an annoying space before or after the block (a space that I did not copy at first) and also if I copy the block with some text before or after it, and then I paste the whole thing, the block is not pasted… 2 tricky behaviors… are you aware of those ? I would call that a bug…

MacBook Pro 16 pouces (3456 × 2234), 2021 / Apple M1 Pro / 16 Go / macOS Ventura Version 13.4.1 (22F82)
+ 31,5 pouces (2560 × 1440) + 27 pouces (1080 × 1920) + iPad (8th generation) / iPadOS 17.2 + Apple Pencil + 

Macmini6,2 Quad-Core Intel Core i7 16 Go / macOS Catalina version 10.15.7 (19H2026)
MacBookAir6,2 Intel Core i5 double cœur 4 Go / macOS Big Sur version 11.7.7 (20G1345)

Licence Universelle Affinity V2 updated to 2.3.0

Link to comment
Share on other sites

  • Staff
1 hour ago, laurent32 said:

I discovered that when I copy a grey block and paste it, I get an annoying space before or after the block (a space that I did not copy at first) and also if I copy the block with some text before or after it, and then I paste the whole thing, the block is not pasted… 2 tricky behaviors… are you aware of those ? I would call that a bug…

Sorry to hear you're having trouble!

Are you able to provide a screen recording of this behaviour for me, so that I can investigate this further? :) 

Link to comment
Share on other sites

hi @Dan C

here you go for the file :

test.afpub

here you go for the video :

 

 

MacBook Pro 16 pouces (3456 × 2234), 2021 / Apple M1 Pro / 16 Go / macOS Ventura Version 13.4.1 (22F82)
+ 31,5 pouces (2560 × 1440) + 27 pouces (1080 × 1920) + iPad (8th generation) / iPadOS 17.2 + Apple Pencil + 

Macmini6,2 Quad-Core Intel Core i7 16 Go / macOS Catalina version 10.15.7 (19H2026)
MacBookAir6,2 Intel Core i5 double cœur 4 Go / macOS Big Sur version 11.7.7 (20G1345)

Licence Universelle Affinity V2 updated to 2.3.0

Link to comment
Share on other sites

I believe the behaviour you’re seeing is because you’re using Pinned (Inline) layers.

If you select “before<space><block>” then you are really selecting only “before<space>” but if you select “before<space><block><space>” then you are selecting “before<space><block><space>”.

This might come about if the “<block>” is ‘anchored/pinned’ to the left of the text that comes after it –  e.g. in this case, the second “<space>” – so that the “<block>” is not selected when you select “before<space><block>” because the “<block>” is not ‘part of’ that selection even though it looks like it is.

I don’t know if this is how it should work but it looks ‘a bit off’ to me since not everything which looks selected is actually selected.

Link to comment
Share on other sites

  • Staff

Thanks for providing that for me!

1 hour ago, GarryP said:

I believe the behaviour you’re seeing is because you’re using Pinned (Inline) layers.

(...)

I don’t know if this is how it should work but it looks ‘a bit off’ to me since not everything which looks selected is actually selected.

I can confirm this issue is due to the inline objects, however I can also verify that it's a bug - as in 2.0.4 you did not need to have a character selected after the inline object in order for Copy/Paste/Cut to work correctly - therefore this has been logged with our development team.

I hope this helps :)

Link to comment
Share on other sites

1 hour ago, Dan C said:

this issue is due to the inline objects,

@laurent32, as workaround you might like the font "Redacted". It creates just blocks. It is a monospace font and ignores spaces, you can define the block lengths by adding/removing characters or with horizontal scale values. As character style it appears to be easier to handle than your pinned rectangle solution. For instance:

layoutfontredacted.thumb.jpg.06e0cdc185000f245c1dfe2070bdff7f.jpg

https://pendingdraft.net/2015/01/redacted-font/

https://github.com/christiannaths/Redacted-Font

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

Nice idea @thomaso, thanks !

MacBook Pro 16 pouces (3456 × 2234), 2021 / Apple M1 Pro / 16 Go / macOS Ventura Version 13.4.1 (22F82)
+ 31,5 pouces (2560 × 1440) + 27 pouces (1080 × 1920) + iPad (8th generation) / iPadOS 17.2 + Apple Pencil + 

Macmini6,2 Quad-Core Intel Core i7 16 Go / macOS Catalina version 10.15.7 (19H2026)
MacBookAir6,2 Intel Core i5 double cœur 4 Go / macOS Big Sur version 11.7.7 (20G1345)

Licence Universelle Affinity V2 updated to 2.3.0

Link to comment
Share on other sites

I wonder right now if one can search text for some specific horizontal scale values…

I'll have to look after that…

MacBook Pro 16 pouces (3456 × 2234), 2021 / Apple M1 Pro / 16 Go / macOS Ventura Version 13.4.1 (22F82)
+ 31,5 pouces (2560 × 1440) + 27 pouces (1080 × 1920) + iPad (8th generation) / iPadOS 17.2 + Apple Pencil + 

Macmini6,2 Quad-Core Intel Core i7 16 Go / macOS Catalina version 10.15.7 (19H2026)
MacBookAir6,2 Intel Core i5 double cœur 4 Go / macOS Big Sur version 11.7.7 (20G1345)

Licence Universelle Affinity V2 updated to 2.3.0

Link to comment
Share on other sites

A quick, but very basic, alternative could be to create a Character Text Style with a grey Background Colour and use it to format some spaces (or non-breaking spaces).

You don’t have much control over the size of the block relative to the text, or accurate block lengths, or other things, but it’s quick and doesn’t need a specific font.

image.thumb.png.699f6569d442d2382726bc4dba0d0e78.png

Link to comment
Share on other sites

20 hours ago, laurent32 said:

I wonder right now if one can search text for some specific horizontal scale values…

2 hours ago, GarryP said:

You don’t have much control over the size of the block relative to the text,

With the Find And Replace panel you can search for certain scale values … and also can replace them. This also works with @GarryP's hint to use any font with spaces only.

FRspace.thumb.jpg.5f88fe95c8cdc5041b98562b658a3249.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

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.