Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to find out if the current open document is in flat pattern "mode"
It's not working, any ideas what I've got wrong?
If oDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then
'MsgBox("sheet metal")
If OApp.ActiveEditDocument.Type = 50332160 Then
' this is a a flat pattern
End If
End If
Many thanks in advance.
Dave
Solved! Go to Solution.