09-22-2017
06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-22-2017
06:51 AM
Hi,
Try this :
Dim partDoc As Document = ThisApplication.ActiveDocument
If oDoc.DocumentType = DocumentTypeEnum.kAssemblyDocumentObject Then
'...Assembly document
If oDoc.DocumentType = DocumentTypeEnum.kPartDocumentObject Then
'...part document
Alain