Getting sketch entities from a sheet matal "folded" part
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can anybody help?
I have a vba macro that can convert a "ipt" file of a "laser-cut profile" directly into a dxf file.
The code shown in the attachment works perfectly!!!!
I need to do the same thing from a "folded" (un-flatterned) sheet metal "ipt" file.
I have found this from the discussion groups to onfold a part
Dim oPartDoc As PartDocument
Set oPartDoc = ThisApplication.ActiveDocument
Dim oDef As ControlDefinition
Set oDef = ThisApplication.CommandManager.ControlDefinitions.Item("PartConvertToSheetMetalCmd")
oDef.Execute
Dim oCompDef As SheetMetalComponentDefinition
Set oCompDef = oPartDoc.ComponentDefinition
oCompDef.Unfold
Does anybody know how I can combine the two so that I can automatically create a dxf file directly from a un-flatterned folded sheet metal part?
Many thanks in advance!!!
IsoCAM