CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.124.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 8718:
Question
A
How to display and dimension/annotate center of gravity of the individual subassemblies and parts in an Inventor assembly drawing?
You can use the following simple iLogic macro - when run, it creates/updates the location of the MyCOG workpoint in the model document:
Dim cogName As String = "MyCOG"
Dim doc As Document = ThisDoc.Document
Dim cog As WorkPoint
Try
cog = doc.ComponentDefinition.WorkPoints(cogName)
cog.SetFixed(doc.ComponentDefinition.MassProperties.CenterOfMass)
Catch
cog = doc.ComponentDefinition.WorkPoints.AddFixed(doc.ComponentDefinition.MassProperties.CenterOfMass)
cog.Name = cogName
End Try
Inventor
20.7.2012
14214×
this tip shared by ARKANCE experts applies to: Inventor ·
![CAD Forum - ARKANCE Community - 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)

What is the ARKANCE Community?