Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
I would like access to Frame Generator through API.
Specifically I should use it to collect information about end treatments for now. But in general it would be good to be able to create and maintain FG through API.
We've slowly been reverse engineering items like this, but it would be so much more convenient if the API was available. Everything you're looking for appears to be stored in attributes (including reference keys) stored under the PartComponentDefinition. Internally, we only starting to read the data and not adding information at this point. Granted, ADSK may change all of this if they finally choose to get it into the API, but if you're needing something now the data is there. It is cryptic trying to figure out what someone else did. It looks like all the information is stored at various levels of the assembly structure if you can decipher it. Using the attribute helper found below should get you started:
One thing I've learned trying to decipher the various attributes is start with a small simple assembly and add things one at a time to make it easier to know what is going on.
APIs should be available for all Add-Ins that come with Inventor Professional, I've been looking to automate Cable & Harness for years without much success. You have my vote.
Added my vote to the OP. The ability to access Frame Generator through the API and iLogic would be a game changer. We have a need to easily change the Frame Member Standard, Family, & Size within the Category without the hassle of opening the frame assembly to right click the member and Edit With Frame Generator to change it. Something like the "Components.AddContentCenterPart" but for Frame Generator comes to mind.
Its needed but we could replicate it with existing API. I am working on this project as we speak. Some features are harder to replicate such as the mitre on multiple members connecting into a single point.