ClientFeature Error PMxClientFeatureEntry

ClientFeature Error PMxClientFeatureEntry

etaCAD
Advocate Advocate
730 Views
7 Replies
Message 1 of 8

ClientFeature Error PMxClientFeatureEntry

etaCAD
Advocate
Advocate

Hi,

in the attached part I want to add a clientfeature, containing a knitFeature and a combineFeature. Creating the Clientfeature works fine, but when I want to open the file again, an error appears each time. This is only when both features (knit & combine) are included. When I create two indepeandent clientFeatures, one including the knit, the other one includung the combine everything works fine. I checked with Inventor 2017 and 2019. No difference.

 

This is the error message:

Interner Fehler in Beständigkeitsvorgang (Post restore of Object 000007FFFDC10428 meta-type PMxClientFeatureEntry in segment PmBrowserSegment ends up causing a cycle)

 

Any ideas what's wrong?

 

Below is a VBA code for testing the attached part file (Inv2019).

Public Sub CFtest3()

    Dim activeDoc As PartDocument
    Set activeDoc = ThisApplication.ActiveDocument
    
    Dim compDef As PartComponentDefinition
    Set compDef = activeDoc.componentDefinition

    Dim knitFeature As knitFeature
    Set knitFeature = compDef.Features.KnitFeatures.Item(1)
    Dim combineFeat As CombineFeature
    Set combineFeat = compDef.Features.CombineFeatures.Item(1)

    Dim oClientFeatures As ClientFeatures
    Set oClientFeatures = compDef.Features.ClientFeatures
    Dim oClientFeatureDef As ClientFeatureDefinition
    Set oClientFeatureDef = oClientFeatures.CreateDefinition("ClientFeat", knitFeature, combineFeat)

    Dim oCFE As ClientFeatureElement
    For Each oCFE In oClientFeatureDef.ClientFeatureElements
        oCFE.BrowserVisible = True
        oCFE.UserEditable = False

        If TypeOf oCFE.Element Is PartFeature Then
            oCFE.HighlightWithFeature = True
        Else
            oCFE.HighlightWithFeature = False
        End If
    Next

    ' Create the client feature
    Dim oClientFeature As ClientFeature
    Set oClientFeature = oClientFeatures.Add(oClientFeatureDef, "CFtest")

End Sub

 

Andreas
etaCAD

0 Likes
731 Views
7 Replies
Replies (7)
Message 2 of 8

HideoYamada
Advisor
Advisor

Hello,

 

The problem was reproduced with Inventor 2020 also.

And I find that Inventor crashes when new sketch is creating after ClientFeature was made.

 

Perhaps Inventor will confuse unite CombineFeature and the tool body used by CombineFeature to one ClientFeature.

(Because a tool body is enabled and disabled in the ClientFeature.)

 

There seems to be no workaround...

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
Message 3 of 8

etaCAD
Advocate
Advocate

Hi Hideo,

thanks for your research and verfication of the problem.

I also tried many things to solve the problem but without positive result. Adding the knit feature with the first extrude to a client feature and creating a second client feature, including the combine feature  and second extrude works fine, but unfortunately this is not what I like to achieve.

The problems occurs only when the knit feature and the combine feature are children of the same client feature.

As don't see any reason why this shouldn't work in theory, so I assume this is a bug in Inventor.

 

Andreas
etaCAD

Message 4 of 8

HideoYamada
Advisor
Advisor

Hello etaCAD,

 


@etaCAD wrote:

As don't see any reason why this shouldn't work in theory, so I assume this is a bug in Inventor.


I think so too.

Would you report this issue to developer?

Inventor Feedback/Beta Project - How do I get access? 

 

I reported the issues I found and some of them have been fixed.

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
0 Likes
Message 5 of 8

etaCAD
Advocate
Advocate

Hi,

I reported this issue as error. I'll let you know when this will be fixed.

 

Andreas
etaCAD

Message 6 of 8

etaCAD
Advocate
Advocate

This week I got a message from Autodesk that the issue has been fixed.

Andreas
etaCAD

0 Likes
Message 7 of 8

HideoYamada
Advisor
Advisor

Hi Andreas,

 

Congratulations!!

This issue will be fixed in Inventor 2020.3 or 2021.

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
0 Likes
Message 8 of 8

MattH_Work
Collaborator
Collaborator

Inventor 2021.2.1 Problen still exists

MattH_Work_0-1614862730309.png

Creating a clientfeature that  includes a combine


MattH
Product Design Collection 2026
Vault Pro 2026
0 Likes