how to access and read parent iPart and its child ipts from active document and then create model from that information

how to access and read parent iPart and its child ipts from active document and then create model from that information

2020mme013
Enthusiast Enthusiast
628 Views
2 Replies
Message 1 of 3

how to access and read parent iPart and its child ipts from active document and then create model from that information

2020mme013
Enthusiast
Enthusiast
I have created more than 1000 parent iPart models as of now. from here I need to make each model's child ipts and copy of .idw. each parent which I have created manually, For ex.  in image the one of the  iPart number is 60-XX-4659-ZZZZ, and its child files are listed from (60-11-4656-T500) to T609 te last 4-digits are nothing but the material code itself and remaining all same. so manually I have created the parent .ipt from this iPart I should create all remaining child ipts programmatically and for drawings I have created manually the first child drawing i.e. 60-11-4656-T500(.idw), now I need to make the copies of this drawing with that number of children ipts listed below and to give its references respectively. 
Requirements, 
1.   .ipt models of these children's by using read iPart and its table. 
2.    there is one .idw file of that one child iPart. By taking this .idw file as reference, I need to create the same for remaining children's of .idw files. and save the names, iPrproperties as it is shown in table of excel 
 
I have attached the image in which you can see the main iPart at the top and in the table there is a list of child have been shown.
 
Please tell me if anyoneWhatsApp Image 2022-10-12 at 1.17.34 PM (1).jpegWhatsApp Image 2022-10-12 at 1.17.34 PM.jpeg can do anything in this case it will be really helpful to me.
0 Likes
Accepted solutions (1)
629 Views
2 Replies
Replies (2)
Message 2 of 3

BM_Ashraf
Advocate
Advocate
Accepted solution

Hi,

Here are iLogic rules and a demonstration video of how to use it.
Hope that it helps you !



https://youtu.be/7sKq0gbmRhk

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.

Blue Mech

Add-ins for Inventor!

0 Likes
Message 3 of 3

2020mme013
Enthusiast
Enthusiast
Thank you so much!!!!
its really helpful to me. It saved my time. also I have gone through you YouTube channel very relevant content is there regarding inventor Addins and these all are rarely find online platforms. I am new to inventor customization and there is nothing to learn from basic. but you did lot of help to me. Thanks a lot. keep it up.