![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: Renumber macro Topic Summary: Has anyone produced a macro to renumber sensibly? Created On: 19-Aug-2006 15:08 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I'm getting to the end of a project to produce a set of BPMN diagrams. The autonumber appears to number in the order that processes (say) are added to the diagram. The standard renumber feature on the edit menu removes gaps but sticks with the sequence. Numbers are therefore random on the page.
My business audience like a numbering scheme that starts with 1 in the top left of the diagram and progresses elegantly across and down. I think that's reasonable. Has anyone produced a macro to do this? |
|
![]() |
|
![]() |
|
There is an article about renumbering symbols within the Knowledgebase: |
|
![]() |
|
![]() |
|
Thanks Duane,
The article is simply about the renumber feature supplied with SA. Incidentally, I have now decided the order that uses is not even the order in which symbols are added. Seems totally random. The idea of adding a new property has its attractions, but managing the numbers across the diagram hierarchy is the sort of job I'd much rather leave to the computer! Jeremy |
|
![]() |
|
![]() |
|
Here's another idea:
Edited: 21-Aug-2006 at 17:03 by Duane Hennessy |
|
![]() |
|
![]() |
|
This is completely off of the top of my head (I'm not at work) but something like the following should do it. You'll have to rework bits of the code and you may want to send diagram objects to the routine and walk through all diagrams etc.
I hope the attached code is formatted properly because I'm doing this on my Apple.
![]() |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.