All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ManufacturingInterfaces Interface CATIMfgDesignHoleParameters

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIMfgDesignHoleParameters
 

Usage: you can freely reimplement this interface.


interface CATIMfgDesignHoleParameters

Interface to retrieve parameters from a design hole.

Role: CATIMfgDesignHoleParameters has methods to retrieve parameters from a design hole.


Method Index


o GetDepth(CATICkeParm_var&)
Retrieves the depth of the hole.
o GetDiameter(CATICkeParm_var&)
Retrieves the diameter of the hole.
o GetDirection(double&,double&,double&)
Retrieves the direction of the hole.
o GetOrigin(double&,double&,double&)
Retrieves the origin of the hole.
o get_Parameter(CATString&,double&)
Retrieves a parameter of the hole from its name.
o get_Parameter(CATString&,int&)
Retrieves a parameter of the hole from its name.

Methods


o GetDepth
public virtual HRESULT GetDepth(CATICkeParm_var& oDepth) = 0
Retrieves the depth of the hole.
Parameters:
oDepth
The depth of the hole
o GetDiameter
public virtual HRESULT GetDiameter(CATICkeParm_var& oDiameter) = 0
Retrieves the diameter of the hole.
Parameters:
oDiameter
The diameter of the hole
o GetDirection
public virtual HRESULT GetDirection(double& oX,
double& oY,
double& oZ) = 0
Retrieves the direction of the hole.
Parameters:
oX
The first component of the direction
oY
The second component of the direction
oZ
The third component of the direction
o GetOrigin
public virtual HRESULT GetOrigin(double& oX,
double& oY,
double& oZ) = 0
Retrieves the origin of the hole.
Parameters:
oX
The first coordinate of the origin
oY
The second coordinate of the origin
oZ
The third coordinate of the origin
o get_Parameter
public virtual HRESULT get_Parameter( const CATString& iParameterName,
double& oParameter) = 0
Retrieves a parameter of the hole from its name.
Parameters:
iParameterName
The name of the parameter
Legal values: The parameter name can be
Diameter
The hole diameter
Depth
The hole depth
CBDiameter
The hole head diameter
CBDepth
The hole head depth
CSAngle
The hole head angle
THDiameter
The hole thread diameter
THDepth
The hole thread depth
THPitch
The hole thread pitch
oParameter
The value of the parameter
o get_Parameter
public virtual HRESULT get_Parameter( const CATString& iParameterName,
int& oParameter) = 0
Retrieves a parameter of the hole from its name.
Parameters:
iParameterName
The name of the parameter
Legal values: The parameter name can be
THSens
The hole thread side. (0: right threaded 1: left threaded)
Extension
The hole extension. (1: blind 2: through)
oParameter
The value of the parameter

This object is included in the file: CATIMfgDesignHoleParameters.h
If needed, your Imakefile.mk should include the module: MfgItfEnv

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