Over 1.103.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
CAD tip # 9935:
Question
A
If you need to classify an Inventor document if a standard assembly and a weldment assembly, you can use the parameter "SubType". Try e.g. the following iLogic macro:
oModelDoc = ThisDoc.ModelDocument
If oModelDoc.DocumentType=kAssemblyDocumentObject Then MsgBox("ASSEMBLY")
If oModelDoc.SubType="{28EC8354-9024-440F-A8A2-0E0E55D635B0}" Then MsgBox("WELDMENT")
Inventor
4.8.2014
9529×
applies to: Inventor ·
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

