Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK 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
Dec 26, 2023
5
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
 
Replies continue below

Recommended for you

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