is there a way to 'limit' the layout of shapes?

M

MichaelDag

I have a number of boxes in my drawing with shapes 'inside' the boxes.
I know which shape belongs to which box and know the dimensions of the boxes

is there a way for me to use the window.selection.layout function while
preventing the shapes from being positioned (by the layout engine) 'outside'
their boxes?

MichaelDag
 
J

JuneTheSecond

An idea might be to use selection.drawregion method.
Once regon is drawn, the width and height of the region is as same as whole
shapes. And next edit the size of outside box.
 
M

MichaelDag

sounds interesting, can you elaborate a little as I seem to miss the clue
when looking at the documentation...

Michael
 
P

Paul Herber

I have a number of boxes in my drawing with shapes 'inside' the boxes.
I know which shape belongs to which box and know the dimensions of the boxes

You couild create some user defined cells to contain the X/Y limits
and use GUARD, MIN and MAX formulae in the PinX and PinY cells.
 
Top