Message 1 of 5
iFeature inputs

Not applicable
04-26-2008
07:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
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