@tt_su said:
The order is in no guarantied order. It doesn't change when definitions are modified.
Ok, thanks.
@tt_su said:
I'm afraid it's a bit unclear to me.
Are you trying to rename all definitions?
Not exactly, I'm trying to insert a new component in the middle of a name-sorted list, while keeping the numbering sequence.
@tt_su said:
What is the expected result?
List of components where the first 3 characters of the component name determine the component's position in the list.
@tt_su said:
Why do you need to rename all the other components to place a new component?
I want to place a component in position 52 in the list, so I name it "052 - ...", but there already is a component which name starts with "052" so I need all existing component names to increase their 'index' by 1.
Further:
I'm working on a wooden house frame and I need a way to get the components exported in a certain order. I have numbered the 'parts' in order of 'appearance'.
- e.g. the part you need first would be "001 - Bottom plate part - 45x95x6000". Where the "001" is the 'index' for the part and the rest is a description of it.
So, If I at some point realise that I need to insert another piece of timber, I would create a new component. But I need to place it in a certain position in the components list (which is sorted by name). If part number 052 would be a wall stud of a certain dimension and I needed to insert a new stud of another dimension next to it I want the part to be number 051 or 053 - doesn't really matter which as long as they are close.
If the component count at that point is 200, I'd need to increase the 'index' number for all components 053-200 by one.
Is this any clearer?