How to determine iLogic Components in an Assembly ?

How to determine iLogic Components in an Assembly ?

Anonymous
Not applicable
481 Views
3 Replies
Message 1 of 4

How to determine iLogic Components in an Assembly ?

Anonymous
Not applicable

Hi,

 

I am new to customization in Inventor. 

 

Currently I am stuck in a situation where I need to loop through an Assembly and identify/get the iLogic Components which are used in the Assembly.

 

I tried using certain APIs like "ComponentOccurrence" but was unable to get the required iLogic Components.

 

Could someone help me with a code snippet to search the iLogic Components in an Assembly.

 

Thanks in advance.

0 Likes
482 Views
3 Replies
Replies (3)
Message 2 of 4

MechMachineMan
Advisor
Advisor

What do you mean by iLogic components? I have not heard of that. 

 

Do you mean parts placed using "place iLogic components"?

 

Do you mean parts placed that have embed rules?

 

etc..


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
0 Likes
Message 3 of 4

Anonymous
Not applicable

Yes,  the parts placed using "place iLogic components" in an Assembly.

0 Likes
Message 4 of 4

MechMachineMan
Advisor
Advisor

I think you are out of luck.

 

I took a quick gander for assets and propertysets and didn't see anything that would contain a flag for if a part was generated using the "Place iLogic Components command"

 

This leaves me with the assumption that the Place iLogic components command is just a tool that doesn't flag the parts, but just allows parts to have their parameters changed at time of placement.

 

 

However, if the parts you place based of the command have some sort of commonality, you might be able to use that commonality to identify them all otherwise.


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
0 Likes