Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extract Cofgravity values (VB)

Status
Not open for further replies.

monirri

Mechanical
Feb 22, 2006
44
Hi. This question should be easy, but I AM IN A HURRY.

How do i extract the individual values of the three that compose
Center of gravity ()
radii of gyration ()
, etc

that come within Computephysicalproperties command?

my program calulates the triad, but i don`t know the individual x, y, z values. How do i extract them?
 
Replies continue below

Recommended for you

This is the command

Call OperPrincipal.ComputePhysicalProperties( _
Density:=dblDensity, Accuracy:=dblAccuracyIn, Volume:=dblVolume, _
Area:=dblArea, Mass:=dblMass, CenterOfGravity:=dblCofGravity, _
CenterOfVolume:=dblCofVolume, _
GlobalMomentsOfInteria:=dblGlobalMoments, _
PrincipalMomentsOfInteria:=dblPrincipalMoments, _
PrincipalAxes:=dblPrincipalAxes, _
RadiiOfGyration:=dblRadiiOfGyration, _
RelativeAccuracyAchieved:=dblAccuracyOut, Status:=lngStatus)

When used in VB, it computes all physical properties of the part in SE

Anyone, please?
 
Hi,

I still do not know where your problem is. Don't you know
how to extract values from an array?

dy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor