CATPLMFmaModelerInterfaces Interface CATIFmaRepresentationMode

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIFmaRepresentationMode

This interface provides methods to customize the 3D representation of a fastener (for example: point, axis, canonical, exact…) in the context of a session.
Note: This information is not persistent.
Role: Fastener product Instance implements this interface.

Example:
  
// example is optional
CATIFmaRepresentationMode * pFastenerInstanceVisServices = NULL;
HRESULT rc = pFastenerInstance->QueryInterface(IID_CATIFmaRepresentationMode, (void**) &pFastenerInstanceVisServices);


Method Index


o ChangeRepresentationMode(CATFmaRepresentationMode)
Changes the 3D representation mode for a given fastener instance.

Methods


o ChangeRepresentationMode
public virtual ChangeRepresentationMode( iRepMode=NULL)
Changes the 3D representation mode for a given fastener instance. Note: This information is not persistent.
Parameters:
iRepMode:
the chosen representation mode It may have several values:
  • CATFmaPointRepresentation : represents only a 3D point.
  • CATFmaAxisRepresentation : represents a 3D Axis System.
  • CATFmaVectorRepresentation : represents a Vector (corresponding to K-Vector).
  • CATFmaTechnologicalRepresentation : represents a 3D symbol (usually a spot).
  • CATFmaExactRepresentation : represents the exact 3D geometry of the instanciated components of the fastener.
  • CATFmaNoExactRepresentation : removes the persistent representation of the fastener feature(SpotAssy, SpotSingle).
Please note that these representation modes can be combinated together like on the following example :
Example:
   ChangeRepresentationMode(CATFmaPointRepresentation | CATFmaAxisRepresentation | CATFmaTechnologicalRepresentation);
   
Returns:
S_OK
if the chosen representation mode was successfully enabled.
E_INVALIDARG
if the input representation mode is not supported.
E_FAIL
otherwise.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.