Over 1.096.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and 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
13133×
applies to: Inventor ·