×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Analyze vs. GetTechnologicalObject("Inertia")

Analyze vs. GetTechnologicalObject("Inertia")

Analyze vs. GetTechnologicalObject("Inertia")

(OP)
I've been trying to calculate the mass and center of gravity for assemblies and I’ve been running into a problem with different output from oProduct.Analyze vs. oProduct.GetTechnologicalObject("Inertia"). Both have a .mass and a method of obtaining the COG but the values are not always equal. In addition I've had the GetTech...Mass method fail on parts that the Analyze Mass method doesn't. Does anyone happen to know the difference between them and which one might be correct?

Shawn

Different code samples:

Set oInertia = oProduct.GetTechnologicalObject("Inertia")
On Error Resume Next
dMass = oInertia.Mass * 2.20462262
oInertia.GetCOGPosition dCoordinates
On Error Goto 0

or
    
Set oInertia = oProduct.Analyze
dMass = oInertia.Mass * 2.20462262
oInertia.GetGravityCenter dCoordinates

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources