iFeature inputs

iFeature inputs

Anonymous
Not applicable
358 Views
4 Replies
Message 1 of 5

iFeature inputs

Anonymous
Not applicable
Let’s suppose we have a part with one iFeature component.
I need to create several other iFeatures basing on the same inputs as the first iFeature.

How can I extract inputs -- references to the real points, axes, planes, sketches, etc. -- from existing iFeature?


' reference to the 1-st iFeature component
Dim oiFeatureComp As iFeatureComponent
Set oiFeatureComp = oCompDef.ReferenceComponents.iFeatureComponents.Item(1)

' reference to inputs collection
Dim oiFeatureInputs As iFeatureInputs
Set oiFeatureInputs = oiFeatureComp.Definition.iFeatureInputs

All items in this iFeatureInputs collection have PlaneInput or Entity properties set to Nothing, so they are useless.

Who knows a solution in IV 2008 ?
Thank you,

ALink
0 Likes
359 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
I did some testing and it looks like you've uncovered some problems with the
iFeature portion of the API. I also tested it in Inventor 2009 and the
problems still exist there. We did some rework of iFeatures in Inventor
2009 to make the API more logical and I was hoping these would have been
addressed as a side-effect of that, but no luck. I've filed a change
request for this issue and hopefully we'll be able to address it soon.
--
Brian Ekins
Autodesk Inventor API
0 Likes
Message 3 of 5

Anonymous
Not applicable
Brian,
May be you know why iFeature doesn’t “see” any inputs (points or lines) from Sketch3D geometry (both in UI and in API)?
It would be very useful in case of skeletons created as Sketch3D geometry.

Is it possible to add this idea to previous change request?
Hopefully adding 3d sketch geometry to iFeature inputs is not so complicated problem.

Thank you for your help.
Yours,
ALink
0 Likes
Message 4 of 5

Anonymous
Not applicable
This isn't really a defect but missing functionality. For issues like this
it's best to submit a request through the Feedback link on www.autodesk.com.
Pick the "contact us" link at the top of the page, click the "Feedback"
link, click the "Products" link, and fill out the form. This goes directly
to the product marketing group who are the ones that prioritize and decide
what goes into each release.
--
Brian Ekins
Autodesk Inventor API
0 Likes
Message 5 of 5

Anonymous
Not applicable
Thanks. I've already made a request through the Feedback link on www.autodesk.com.

ALink
0 Likes