Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Feb 22, 2006
Messages
44
Location
CO
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?
 
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

Back
Top