CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

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   14214×  
   
this tip shared by ARKANCE experts 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
  





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