cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Inconsistency obtaining child features.

MV_8740907
4-Participant

Inconsistency obtaining child features.

I am using Creo Parametric - Release 4.0 (connected) 4.0 M010

I having issues with IpfcFeature.ListChildren() returning 0 children features for a feature I know that has many.
Same code works well for other parts, but not for this one.

This is the code that works for other parts :

Function Simplifier(ByVal currmodel As IpfcModelItemOwner)

Dim features As IpfcFeatures
Dim currFeat As IpfcFeature = Nothing\
Dim solid As IpfcSolid

solid = CType(currmodel, IpfcSolid)
features = solid.ListFeaturesByType(True, EpfcFeatureType.EpfcFEATTYPE_ROUND)

For Each currFeat In features
modelItem = CType(currFeat, IpfcModelItem)

' find child-less features and add to operations queue
childfeatures = currFeat.ListChildren()

' childfeatures returns the child features of currfeat with some parts, but its failing with others!!

Next

Please help to understand if this is a bug or something Im doing wrong.

3 REPLIES 3


@MV_8740907 wrote:

I am using Creo Parametric - Release 4.0 (connected) 4.0 M010

I having issues with IpfcFeature.ListChildren() returning 0 children features for a feature I know that has many.
Same code works well for other parts, but not for this one.

This is the code that works for other parts :

Function Simplifier(ByVal currmodel As IpfcModelItemOwner)

Dim features As IpfcFeatures
Dim currFeat As IpfcFeature = Nothing\
Dim solid As IpfcSolid

solid = CType(currmodel, IpfcSolid)
features = solid.ListFeaturesByType(True, EpfcFeatureType.EpfcFEATTYPE_ROUND)

For Each currFeat In features
modelItem = CType(currFeat, IpfcModelItem)

' find child-less features and add to operations queue
childfeatures = currFeat.ListChildren()

' childfeatures returns the child features of currfeat with some parts, but its failing with others!!

Next

Please help to understand if this is a bug or something Im doing wrong.


Hi,

please upload "problematic" part.


Martin Hanák

Unfortunately it is a customer part so I cannot publish it.

RPN
17-Peridot
17-Peridot
(To:MV_8740907)

Sorry,  but what kind of children do you expect from a round feature?

Top Tags