Quantcast
Channel: NX Journaling - Journaling / NXOpen API
Viewing all articles
Browse latest Browse all 787

Editting Extrude Feature and Handling Failed Edge Blend Update

$
0
0

Hello,
I am attempting to edit an extrude feature, and a reference edge from the extrude feature gets destroyed, as does the Edge Blend used later on in the part navigator tree. I anticipate this happening and have attempted a few things to suppress the error but can't seem to get it suppressed.

If TypeOf fts(index) Is Extrude Then
    For Each ftr As Feature In fts(index).GetChildren
        nxSession.UpdateManager.SetUpdateFailureAction(ftr, Update.FailureOption.AcceptAll)
    Next
      ExtrudeModifier(fts(index), fts(index - 1), fts(fts.Length - 1)
End If

In the ExtrudeModifier, there are some code calls I follow from the journal I recorded, does anyone know if these are the right calls to make?

        nxSession.UpdateManager.InterpartDelay = True
        prevFtr.MakeCurrentFeature()
        workPsrt.Features.SetEditWithRollbackFeature(extrude1)

Viewing all articles
Browse latest Browse all 787

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>