Sheet Metal INV 2008

Sheet Metal INV 2008

Rene-J
Collaborator Collaborator
253 Views
2 Replies
Message 1 of 3

Sheet Metal INV 2008

Rene-J
Collaborator
Collaborator
I am trying to update my program to INV 2008

When I Creating a Flatpattern
oSheetMetalCompDef.Unfold
How do I get back to the folded model?
Is ther a new method?

René J
0 Likes
254 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
You use the ExitEdit method of the FlatPattern object. Here's a simple
example.

Public Sub Flatten()
Dim oDoc As PartDocument
Set oDoc = ThisApplication.ActiveDocument

Dim oSMDef As SheetMetalComponentDefinition
Set oSMDef = oDoc.ComponentDefinition

oSMDef.Unfold

oSMDef.FlatPattern.ExitEdit
End Sub

--
Brian Ekins
Autodesk Inventor API
0 Likes
Message 3 of 3

Rene-J
Collaborator
Collaborator
Thanks for the help Brian.
0 Likes