CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 9935:

Question

CAD 
 %  platform  category 
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
100% *CAD
4.8.2014    9314×  
applies to: Inventor ·

See also:
Tip 13963:Sum of pipe element lengths in Inventor (iLogic).
Tip 13920:Saving your Inventor model in the presentation color scheme, thumbnails with a white background (iLogic).
Tip 13744:Simple password protection of Inventor documents (iLogic).
Tip 13211:Automatic numbering/renaming of multi-volume bodies in a part.
Tip 12644:How to identify parts and assemblies imported from STEP/IGES?


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist