- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have an assembly and we are able to modify the BOM list by iLogic. How can I replace only that components which are active in the model history and ignore the models which are not found?
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
@Anonymous wrote:
Hello,
I have an assembly and we are able to modify the BOM list by iLogic. How can I replace only that components which are active in the model history and ignore the models which are not found?
Thanks in advance
Here is the example page for component functions with ilogic..
http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-AFA099F1-B161-4822-914D-307F5CD8FE20
See if that helps you..
You might want to be more specific with your example to let us know how Inventor will know which part should be replaced with what? excel file?
Is it supposed to find a specific part only and replace it or what
-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570
Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI @Anonymous
what do you mean with "modify the BOM list by iLogic". What did you do exactly with the BOM List.
Are you working with Level of Detail Representation in the Browser Tree? Otherwise all components in the Browser Tree are normally active.
Perhaps you can post your iLogic Rule here?
Sorry, but i need a bit more input for trying to help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I know I provided not enough information, sorry for this.
We found the solution. I just wanted to replace that components which are built in and if the rule doesn`t find one of the component then go on and doesn`t show an error message. ("The component is not found")
I used that:
Try
If Component.IsActive("itemname1:1") Then
Component.Replace("itemname1:1", "itemname2.ipt", True)
End If
Catch
End Try
Thank you for help
Jnaos
