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. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 8718:

Question

CAD 
 %  platform  category 
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
100% *CAD
20.7.2012    13133×  
Share the tip:
Digg it! Del.icio.us Facebook Twitter Google bookmark Technorati StumbleUpon
applies to: Inventor ·

See also:
Tip 8927:How to exclude parts of the Inventor assembly from total mass?
Tip 8286:How to display COG in Inventor drawing views?
Tip 5776:Automatic center of gravity for Inventor assemblies.
Tip 1198:Feature codes for Network License Manager.


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:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


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