Here is another macro, which I showed in a previous thread. It adds nothing exciting to Draw, but does help speed up the positioning of one object alongside another. If you had to place quite a number of shapes alongside one another in different positions, this could well speed up the process. The macro is attached and a short video below shows it in action.
Very great and useful macro! it was an old request for years. Can be applied to many objects at the same time, for align outside all?
Congratulations! Brian is re-writing CorelDRAW
Ariel said: Very great and useful macro! it was an old request for years. Can be applied to many objects at the same time, for align outside all? Congratulations! Brian is re-writing CorelDRAW
Hi Ariel,
thanks very much. The question you are asking....I would need to add some functionality...can you please explain a little more? I am guessing you are saying, for example, we have one large square and 9 small squares. You would like to press one button and have all 9 small squares align to the large one (all around it)? If so, I can easily do that for you. However, what if you only had, say 7 small squares and one large....what would you want the macro to do with those? I could make it that it would only work with 9 shapes and a message would pop up to warn you if you selected less than 9 shapes to place around the large one.
Best regards,Brian.
I wonder if you are thinking of something more like this one:
The macro in that video works as follows:
you have a main shape and a smaller shape. You can either enter the number of smaller shapes you want along each side of the larger shape, or let the macro calculate the number of shapes along each side for best fit. You can also specify a distance from outside or inside the main shape you wish to place the smaller shapes.
I do need to modify it at some stage....as when it calculates the number of shapes for best fit, it calculates based upon placing at them around the shape and touching it. If you move the shapes outwards from the main shape you could fit more shapes and if you move them 'further' inside the main shape you would fit less. At least you can undo and adjust the values and reapply though, so not a big deal.
Nooooo, you must have been thinking of this one:
Hi Joan,
I have been changing things here and there over a period with most of my macros. I know recently I improved the accuracy of the "Best Fit" option for that particular macro (BDOrbitShape). The Best Fit option looks at the size of the shape you are wanting to orbit and the size of the shape you are orbiting it around (Master shape) and then calculates how many whole orbit shapes will fit along each side. It takes into account the distance from the Master (inside or out) when calculating how many whole shapes will fit. If a shape fits along the top of the master 10.6 times then 10 shapes are fitted along the top of the master with spacing between them.
I am thinking of adding an additional feature where you enter the number of shapes you want along the width and height of the maser and the macro will resize your shape accordingly so that the number of shapes you selected will fit without spaces between them. Maybe another option with spacing (which would make the shapes even smaller). What do you think? Would there be any advantage to these additional features?
If you click on my name in here and send me an e-mail with your e-mail address on it....I can send the macro to you once completed. That way you can be my beta tester.