Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BOM row parent type

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
T_D
Contributor
256 Views, 2 Replies

BOM row parent type

Hi,

 

Is there any way to find out whether a BOM row parent is of type BOMView or BOMRow?

 

Thank you.

2 REPLIES 2
Message 2 of 3
adam.nagy
in reply to: T_D

Hi,

 

Forgot to mention what programming language you are using, which the answer depends on.

For the main two: in VB it would be "If TypeOf myObject Is BOMView Then" in C# it would be if (myObject is BOMView) { } "

 

I hope this helps, 



Adam Nagy
Autodesk Platform Services
Message 3 of 3
T_D
Contributor
in reply to: adam.nagy

I'm using VB.net. Using TypeOf worked great. Thank you.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report