Message 1 of 4
how to get Flat pattern is created or not?

Not applicable
11-29-2010
06:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How to get whether a flat pattern present in the Sheet metal is proper or unresolved ?
Below is the code I am using
Dim oDoc As Document
Set oDoc = ThisApplication.ActiveDocument
Dim oCompDef As PartComponentDefinition
Set oCompDef = oDoc.ComponentDefinition
Dim sheetmetalcompdef As SheetMetalComponentDefinition
Set sheetmetalcompdef = oCompDef
Dim bHasFlatpatt As Boolean
bHasFlatpatt = sheetmetalcompdef.HasFlatPattern
bHasFlatpatt will return true for unresoved Flat pattern also.
How to get whether it is resolved or unresolved?