All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

StrComputeServices (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---StrComputeServices
 


Represents a structure service object.
Structure service object extracts properties on structure objects. Methods of this interface are computing the mass properties of the main body (PartBody) of each Structure Object (Member and Plate)

Method Index

GetCenterOfGravity
Retreive the center of gravity for a structure object.
GetLength
Returns the length to cut for a member object.
GetMass
Returns the mass for a structure object.
GetMaterialName
Returns the material name for a structure object.
GetSurface
Returns the surface for a structure object.
GetVolume
Returns the volume for a structure object.
GetWetArea
Returns the wet area for a structure object.

Methods


o Sub GetCenterOfGravity(CATIAProduct iProduct,
double oX,
double oY,
double oZ)
Retreive the center of gravity for a structure object.
Parameters:
iProduct
The selected structure object
oX
The x coordinate of the center of gravity
oY
The y coordinate of the center of gravity
oZ
The z coordinate of the center of gravity
o Func GetLength(CATIAProduct iProduct) As double
Returns the length to cut for a member object.
Parameters:
iProduct
The selected structure object
o Func GetMass(CATIAProduct iProduct) As double
Returns the mass for a structure object.
Parameters:
iProduct
The selected structure object
o Func GetMaterialName(CATIAProduct iProduct) As CATBSTR
Returns the material name for a structure object.
Parameters:
iProduct
The selected structure object
oName
The name of the material
o Func GetSurface(CATIAProduct iProduct) As double
Returns the surface for a structure object.
Parameters:
iProduct
The selected structure object
o Func GetVolume(CATIAProduct iProduct) As double
Returns the volume for a structure object.
Parameters:
iProduct
The selected structure object
o Func GetWetArea(CATIAProduct iProduct) As double
Returns the wet area for a structure object.
Parameters:
iProduct
The selected structure object

Copyright © 2003, Dassault Systèmes. All rights reserved.