Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I like to make an extrusion of a sketch that is placed on the flat pattern.
What i now have is:
SyntaxEditor Code Snippet
Dim oDoc As PartDocument = ThisDoc.Document Dim oDef As SheetMetalComponentDefinition = oDoc.ComponentDefinition Dim oSK As Sketch = oDef.FlatPattern.Sketches(1) Dim oProfile As Profile = oSK.Profiles.AddForSolid Dim oExtrudeDef As ExtrudeDefinition = oDef.Features.ExtrudeFeatures.CreateExtrudeDefinition(oProfile, kJoinOperation) Call oExtrudeDef.SetDistanceExtent(0.25, kPositiveExtentDirection) oExtrude = oDef.Features.ExtrudeFeatures.Add(oExtrudeDef)
But this makes the extrusion on the Sheetmetal and not on the Flat pattern...
Does anyone have an idea how i can make this work correct?
Robert
If you find this reply helpful ? It would be nice if you use the Accept as Solution or Kudos button below.
If you find this reply helpful ? It would be nice if you use the Accept as Solution or Kudos button below.
Solved! Go to Solution.