- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
Jus tas the title says, I want to program a way to, firstly, create flat patterns of each part from assemblies, and then export them to dxf. I'm extremely new to the API and dont really know where to start. Can anyone point me in the right direction?
I currently have the following code to connect inventor with the VBA interface.
Dim oDrawing As Inventor.AssemblyDocument
Set oDrawing = ThisApplication.ActiveDocument
Dim oCompDef As SheetMetalComponentDefinition
oCompDef = oDoc.ComponentDefinition
If oCompDef.HasFlatPattern = False Then
oCompDef.Unfold
Else
I've also tried looking at past posts, but many of them have prior knowledge in this area as well. I come from a prior background in python and C++.
Solved! Go to Solution.