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: 

Reflection C#

1 REPLY 1
Reply
Message 1 of 2
rjay75
300 Views, 1 Reply

Reflection C#

Is reflection of properties supported in the 2013 api. In 2011 I would use refelction to get the value of properties from objects via a generic method. However in 2013 the properties aren't being reflected anymore. For instance the WorkAxis object only has a Visible property refelected.

 

Has something changed with the members of the types in .NET?

1 REPLY 1
Message 2 of 2
ekinsb
in reply to: rjay75

We generate the interop the same way as we always have.  What has changed is that we're using .Net Framework 4 to generate it.  Is your project using .Net Framework 4?  If it is, then possibly the .Net utility that builds the interop has changed.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog

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

Post to forums  

Autodesk Design & Make Report