Afternoon All,
I would like to re-name sketches and bodies within a part.
I do not want to select the sketch and then rename it because i would have to know the name of the sketch in the first place which i do not know. Also, I may not know how many bodies are within the part. I would like to work my way down from the model tree renaming (in a pattern) as i go untill all skecthes and bodies have been renamed.
Bodies (See parts attached):
The first body will be called A1. The 3rd body will be called A2 and the fifth body will be called A3.
This will leave the second body renamed as B1 and the fourth as B2 and so on.
I would like this to happen untill all bodies within the part are renamed.
Sketches (See parts attached):
The skecth within the body will need to be renamed.
So the sketch in the first body will be called AA1, The third AA2, and the fifth AA3.
The second as BB1 and fourth as BB2.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ive attached an example before and after to show what i am looking for.
I suppose the first thing to ask is can SW rename bodies and skecthes in this way? Rather than selecting by name.
Many Thanks in advance.
Nick
SolidworksApi macros