Creating a lofted flange programmatically

Creating a lofted flange programmatically

Anonymous
Not applicable
402 Views
1 Reply
Message 1 of 2

Creating a lofted flange programmatically

Anonymous
Not applicable

Has anyone attempted to create a lofted flange via the API from an external EXE?

 

In the VS.Net Object Browser, I see the entry for:

 

Inventor.LoftedFlangeFeatures.CreateLoftedFlangeDefinition

 

but is a member of Inventor, not Inventor.Application and I don't see how to access it.

 

Under PartDocument, I found the path:

 

PartDocument.ComponentDefinition.Features.LoftFeatures  but not  LoftedFlangeFeatures.

 

Am I missing something here, or am I a total doofus?

 

Thanks,

Bob Kiser

 

0 Likes
403 Views
1 Reply
Reply (1)
Message 2 of 2

xiaodong_liang
Autodesk Support
Autodesk Support

Hi,

 

The object browser shows this object is from the interop Inventor. It does not mean LoftedFlangeFeatures is accessed from Application directly. I wrote a small demo on the blog. Hope it helps.

http://adndevblog.typepad.com/manufacturing/2012/08/create-lofted-flange.html

0 Likes