cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Can two text with same value can be selected one by one.........

Vaduga1
1-Visitor

Can two text with same value can be selected one by one.........

Hi all,

In illustrations instead of using callouts we use normal text command placing callouts(numbers).

I've created macro to select each number and place a polygon around each number.

But if same number is available twice in the illustration. The macro places the polygon in between the two like numbers.

Its because for selecting each number I use select if text is equal to command.

I would like to know whether any macro can be created to select the same numbered text can be selected one by one.

Thanks & Regards

Vaduga

2 REPLIES 2
bgraffmann
12-Amethyst
(To:Vaduga1)

I'd suggest to loop over the selected text elements

with activeDoc.firstSelectedElement and activeDoc.nextSelectedElement
and draw the polygones one by one for each.

Hello Bgraffmann,

activeDoc.firstSelectedElement and activeDoc.nextSelectedElement

When using this loop all the texts would be selected and i cannot draw a box over one by one in between the loops.

Thanks & Regards

Vaduga

Announcements

Top Tags