Indexes   

GenericAccuracyProfile (Object)

Interface to manage Generic Accuracy Profile of Robot controller.

Role: This interface provides methods to get/set data related to Accuracy Profile.

Method Index

GetAccuracyType
Get the accuracy type for the profile.
GetAccuracyValue
Retrieves accuracy value of the profile.
GetController
Retrieves controller owning the profile.
GetFlyByMode
Gets On/Off status of Flyby mode.
GetName
Gets name of the Accuracy Profile.
SetAccuracyType
Set the accuracy type for the profile.
SetAccuracyValue
Set accuracy value of the profile.
SetFlyByMode
Switch On/Off Flyby mode.
SetName
Set name of the Accuracy Profile.

Methods


o Sub GetAccuracyType( accuracy)
Get the accuracy type for the profile.
Parameters:
accurancy
accurancy type to get, could be ACCURACY_TYPE_DISTANCE / ACCURACY_TYPE_SPEED
Returns:
An HRESULT.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub GetAccuracyValue( value)
Retrieves accuracy value of the profile.
Parameters:
value
This parameter contains accuracy value.
Returns:
An HRESULT.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub GetController( oController)
Retrieves controller owning the profile.
Parameters:
oController
This parameter contains pointer to controller.
Returns:
An HRESULT.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub GetFlyByMode( oMode)
Gets On/Off status of Flyby mode.
Parameters:
oMode
mode indicating On/Off status.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub GetName( oName)
Gets name of the Accuracy Profile.
Parameters:
oName
Name of the required Accuracy Profile.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub SetAccuracyType( accuracy)
Set the accuracy type for the profile.
Parameters:
accurancy
accurancy type to set, could be ACCURACY_TYPE_DISTANCE / ACCURACY_TYPE_SPEED
Returns:
An HRESULT.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub SetAccuracyValue( value)
Set accuracy value of the profile.
Parameters:
value
This parameter is percentage or absolute value, depending on accurancy type.
Returns:
An HRESULT.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub SetFlyByMode( iMode)
Switch On/Off Flyby mode.
Parameters:
iMode
mode indicating On/Off status.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub SetName( iName)
Set name of the Accuracy Profile.
Parameters:
iName
Name of the Accuracy Profile to be set.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .

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