iLogic - rename iPart member and borwser node

iLogic - rename iPart member and borwser node

Log0ut
Enthusiast Enthusiast
411 Views
2 Replies
Message 1 of 3

iLogic - rename iPart member and borwser node

Log0ut
Enthusiast
Enthusiast

What i have:

iPart.ChangeRow("iPartName:1", "meberName")

In browser, I need to change  iPartName:1 to meberName.

Ideas?

0 Likes
412 Views
2 Replies
Replies (2)
Message 2 of 3

johnsonshiue
Community Manager
Community Manager

Hi! I don't think this is the right approach. iPart members are totally driven by iPart factory (author table). Any attempt to override this relationship can be problematic. You cannot manually do it. Nor would iLogic be able to help.

If you want to use iLogic, you should consider drive the parameters from the rules, not via iPart table. iParts are supposed to be library components for reuse purpose.

Many thanks!

 

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 3 of 3

Log0ut
Enthusiast
Enthusiast

I try to be more clearly(my english and ilogic skills are poor):

I have ipart components in my assembly: iPart_member1:1; iPart_member1:2; iPart_member1:3 ...

Now i want to find and change all iPart_member1's to iPart_member2

 

Simple code be like that:

iPart.ChangeRow("iPart_member1:1", "iPart_member2.ipt")

iPart.ChangeRow("iPart_member1:2", "iPart_member2.ipt")

And so on

 

 

 

 

0 Likes