Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Inventor 2022
VB.NET Visual Studio
i try to make a Face with BoundaryPatch Feature.
I want to use a Sketch3D with few Loops, it works with GUI.
My Question is how to get each loop (Path or Profile) to reach the Goal?
How to Get info How many Loops in a Sketch3D i have ?
This is my Code: in Progres
Public Sub CommandFunctionfweButton_34()
Dim oPartDoc As PartDocument = g_inventorApplication.ActiveDocument
Dim oCompDef As PartComponentDefinition = oPartDoc.ComponentDefinition
Dim oTO As TransientObjects = g_inventorApplication.TransientObjects
Dim oTG As TransientGeometry = g_inventorApplication.TransientGeometry
Dim oBRep As TransientBRep = g_inventorApplication.TransientBRep
Dim oSketch3D As Sketch3D = oCompDef.Sketches3D.Item(1)
Dim oBoudaryPatchDef As BoundaryPatchDefinition = oCompDef.Features.BoundaryPatchFeatures.CreateBoundaryPatchDefinition
For i = 1 To oSketch3D.SketchEntities3D.Count
Next
Dim oBoudaryPatchLoopOutside As BoundaryPatchLoop = oBoudaryPatchDef.BoundaryPatchLoops.Add()
Dim oBoudaryPatchLoopInside As BoundaryPatchLoop = oBoudaryPatchDef.BoundaryPatchLoops.Add()
Dim oBoundaryPatch As BoundaryPatchFeature = oCompDef.Features.BoundaryPatchFeatures.Add(oBoudaryPatchDef)
End Sub
Thanks for Any Suggestion
Solved! Go to Solution.