CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 6927
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 8718:

   
Question CAD 
 %  platform  category 
Q - question

How to show COG of subassemblies in an Inventor drawing?

A - answer 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    11139×  
Prices - CAD eShop:
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 glossary   



Featuring:
Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D More info


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