Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JelteDeJong
in reply to: WCrihfield

I did have a quick look at and this iLogic code did work for me.

Dim oPartDoc As PartDocument = ThisDoc.Document
Dim oCompDef As PartComponentDefinition = oPartDoc.ComponentDefinition

For Each oSB As SurfaceBody In oCompDef.SurfaceBodies
    Dim oFacesCol As FaceCollection = ThisApplication.TransientObjects.CreateFaceCollection()

    For Each oFace As Face In oSB.Faces
        Call oFacesCol.Add(oFace)
    Next
    oCompDef.Features.ThickenFeatures.Add(oFacesCol, 0.5,
            PartFeatureExtentDirectionEnum.kNegativeExtentDirection,
            PartFeatureOperationEnum.kCutOperation)
Next

 

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com