Hello,
I would like to enlarge all shapes on a layer e.g. by the command "Edit -> Layer -> Size".
The Problem is, that the enlarged shapes loose the user properties.
Is there a workaround for this behavior?
The background is, that I need to Export a list of all structures biased by a certain amount, but with a tag to identify different structures.
Regards
JP
Comments
Hi JP,
the layerwise geometrical functions under "Edit/Layer/.." don't preserve properties in general since they act on polygons and will not preserve the polygons in the general case. They also won't preserve the hierarchy if there is one. They are pure flat polygon operations.
The size function is basically capable of preserving polygons as such, but it's quite easy to create cases where polygons join (positive sizing), split (negative sizing) or even vanish. Preserving properties in these cases is heavily depending on the interpretation of the properties and not supported therefore.
I think it's possible to preserve them on "Edit/Selection/Size shapes", but right now that also doesn't happen.
Here is a script which will size the selected shapes while preserving the properties:
If the sizing renders zero or more and than polygon, this function does nothing. Plus: if a shape is selected multiple times through the hierarchy it may receive the sizing multiple times as well.
Matthias
nett mal wieder in Kontakt zu kommen!
Thanks for the code and the explanations.
It solved my Problem, i.e.
JP
JPU ... klar! Jetzt klingelt's :-)
Melde Dich doch mal auf dem nichtoeffentlichen Kanal!
Matthias