Change occurence name via ilogic

zoe.baker-bushby
Enthusiast

Change occurence name via ilogic

zoe.baker-bushby
Enthusiast
Enthusiast

Within the iProperties of a circular pattern element there is the property: Occurrence > Name. Is there anyway to reference the Occurrence Name iPropertie so that you can alter it via illogic code??

 
0 Likes
Reply
Accepted solutions (1)
1,404 Views
2 Replies
Replies (2)

Anonymous
Not applicable
Accepted solution

I have some code that will rename ALL of the nodes in an assembly, including the pattern elements.

 

Have a look at the second bit of code here: https://clintbrown.co.uk/2020/07/29/ilogic-normalise-browser-nodes-with-code/

 

@ClintBrown3D Autodesk Inventor 476.png

If you needed something more specific, you could find the names of the pattern occurrences, using something like the code I use to identify bolted connections in this post: https://clintbrown.co.uk/2019/02/10/ilogicbolts/

 

Hope that helps

zoe.baker-bushby
Enthusiast
Enthusiast

I had to do some rework of the code to achieve exactly what I wanted but nether the less your code helped and solved my issue so thank you!

0 Likes