I'm trying to control custom iProperties of parts from an assembly

I'm trying to control custom iProperties of parts from an assembly

cfritscheV59CE
Observer Observer
144 Views
1 Reply
Message 1 of 2

I'm trying to control custom iProperties of parts from an assembly

cfritscheV59CE
Observer
Observer

I'm trying to use an assembly to populate custom iProperties within sub-assemblies contained in that top level assembly.

 

I thought I could use this, but its not working:

 

iProperties.Value("1094011F002:1", "Custom", "Customer1") = Customer1
iProperties.Value("1094011F003:1", "Custom", "Customer1") = Customer1
iProperties.Value("1094011F004:1", "Custom", "Customer1") = Customer1
iProperties.Value("1094011F005:1", "Custom", "Customer1") = Customer1
iProperties.Value("1094011F006:1", "Custom", "Customer1") = Customer1


 I have a number of custom parameters "Customer1" being one of several, but it's not writing them back to the sub-assemblies. I have no problem doing this method with regular dimensional parameters, any idea why it's not working with the "custom values"?

0 Likes
145 Views
1 Reply
Reply (1)
Message 2 of 2

A.Acheson
Mentor
Mentor

Hi @cfritscheV59CE 

If your parts are no longer in the main assembly then you will need to use make path to  navigate through the subassembly and into the parts. The parts are now children of the sub assembly and cannot be directly accessed.

 

And easy way to figure out if you need this is to add a parameter or some property from the part via the ilogic add button to generate the code. This should give you the correct  structures.  

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes