Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

rename the hybridshape instance in each geometrical set from 1 to so on

Status
Not open for further replies.

GajendraHG

Aerospace
Joined
Dec 26, 2023
Messages
5
Location
IN
Hi All,

i have fasteners details inside a nested geometrical set for the different diameter, here the instance its not in order like "en2245B3E4.3,en2245B3E4.8,en2245B3E4.12" i want to have vba code to rename the hybridshapes in the sequence, Please help me out
Thanks
Gajendra HG
 
ok what is your progress? where is the problem?

Eric N.
indocti discant et ament meminisse periti
 
I got the solution, Using "HybridShape.Name" i have extracted the name and renamed it.

Thank you for the response.
 
Good to know.

I had this renumbering problem once, this is what I did:

loop all elements (name xxx.yyyy) and rename than with "xxx.renumberyyy)
then loop again and rename them xxx.n , I got n from a dictionary that counted elements

Eric N.
indocti discant et ament meminisse periti
 
@itsmyjob could you please response to my new query
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top