Hi,
In the corel designer there is a macro for renumbering callouts. However, it only works if the callout is executed with the incremental function.
I need a macro that reads the number from the selected callouts and counts each callout one number up or down without being incremental.
Could you help me?
I do not understand almost anything...
Do those callouts keep only one number? In Corel a callout shape is of type 'cdrPerfectShape'. So they can be found and count. But 'cdrPerfectShape' is also a banner, an arrow, a basic shape etc. In order to count them we must know what else is on the layout.
How the text keeping the numbers has been put on the callout?
Is each text grouped with each callout?
When you say 'count each callout up or down', what do you mean? If, for instance, there are callouts keeping 15 numbers from 10 to 30, but not all the range, the necessary macro must 'understand' which is the minimum, the maximum, and return an array of sorted them? How to 'count up or down'?
Can you show us an example of such a layout and what is necessary to be done on it?
Actually, it's not complicated. The macro should read the value of the callout once and then increase the value.They are only callouts with numbers.
Did you test my code?
If so simple, why don't you solve it?
Can you, al least, specify what kind of callout do you use? Callout shape from the shapes group near Poligon, Star, Complex star etc. or the 3-Point Callout from the dimensions group?
Everything is fine. This comment was old. :D
So, does it work as you need, or only now you understood my point...?
What I wanted to emphasize was the fact that Corel does not keep any text on the callout itself. According to the callout type it keeps the tex in a text box (first type of callout I enumerated) you must build and a kind of embedded text box in case of 3-Point Callout.
That's why you must tell us a little more, in order to help you. To be able to help...
I don't need 3-Point Callouts. Everything works as i need. Thank you again.