UNGROUP SELECTION
Hello everyone,
Ok I have a little problem, if anyone has any suggestions I would be happy to hear them.
Goal
In a pre-existing illustration I wish to take current callouts (generated using the callout tool) and break them down into elements, remove the rectangle (with white fill), and shorten the line so it no longer intersects the number (the rectangle provides a shadow effect around the number).
Progress
So far I have selected all callouts and converted into elements. This puts each callout into a group, I Select All and using the FirstSelectedElement mixed with the 'UNGROUP SELECTION' (cannot get the optinoal parameter DEEP to work) function Isodraw 7.1 crashes. Can anyone provide a different solution/fix?
I have tried to avoid using FirstSelectedElement and Select All and I am trying to find a way to select each group individually using a loop (I think when Ungroup Selection is executed whilst multiple groups are selected Iso crashes) but I cannot find a way of selecting group individually.
MACRO Callout_to_Elements
DEFINE el as Element
SELECT IF type IS "callout"
CONVERT SELECTION INTO ELEMENTS
SELECT ALL
el = ActiveDoc.FirstSelectedElementWhile (Exists(el) = True)
If (el.Type = "Group") && (el.lastChild = "line") Then # lastChild ensure a group that previosuly was a callout is selected and not another groupUNGROUP SELECTION
End Ifel = el.NextSelectedElement
el = el.NextSibling
End WhileEND MACRO
Oh I am not expecting to shorten the line that intersects the number, I assume this will have to be done manually which I am happy with.
Many thanks for the help.
Alan

