If you can be bothered to use the wrench on every single brick you want to be Anti-Portal, use the events.
If you think this takes too long to go to the events menu, use the
Auto Wrench.
If you want all your bricks to instantly be anti-portal, use the Anti-Portal Bricks set.
If you want bricks in a different shape to instantly be anti-portal, make your own Anti-Portal bricks set - that's why I made the example.