Extracting Constraints and Joints Information from Autodesk Inventor Using C# Add-In
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
Has anyone here tried to retrieve information about constraints and joints from an Autodesk Inventor file?
I’m currently developing a C# tool to do this, using the Inventor Add-in API. I’m still new to this area, but I’ve already managed to extract some basic information successfully. I’ll share a portion of my code below that allows me to access certain data.
However, I’ve encountered a few issues:
- I’m not entirely sure which specific information is required to fully describe a constraint or joint so it can be recreated outside of Inventor.
- I haven’t found a way to get a unique ID or reference for the exact entity (for example, a specific face) used in a constraint.
- I haven´t found too a way to reach the information about the entityOne (example in print).
For example:
If I have a cube with six faces, all faces seem to share the same ID, which makes it impossible to know which face was used in a particular constraint when trying to recreate it externally.
If anyone has experience with this or can point me to relevant documentation, examples, or best practices, I would really appreciate it!
Thanks in advance for any help or guidance you can provide.
Note: I will leave an dialog box that shows the information that i get running my C# script in a simple Inventor CAD.