DatumTarget (Object)

Interface for Datum Target TPS (datum entity).
TPS for Technological Product Specifications.

Properties


Property Datum() As (Read Only)
Retrieves simple datum, the target belongs to.
Property Label() As
Retrieves Label.

Methods


Sub GetAreaForm( oAreaForm)
Gets the form of the target area.
Parameters:
oAreaForm
Form of the target area. Legal values are:- Point, Circular, Rectangular.
Returns:
HRESULT S_OK:- the Area Form has been correctly retrieved. E_FAIL or E_NOIMPL : Area Form cannot be retrieved.
Sub GetCircularAreaSize( oAreaSize)
Gets the size of the circular area.
Parameters:
oAreaSize
Size of the Circular target area.
Returns:
HRESULT S_OK:- the Area Size has been correctly retrieved. E_FAIL or E_NOIMPL : Area Size cannot be retrieved.
Sub GetMovableDirectionTTRS( opDirectionTTRS)
Gets the movable Direction TTRS.
Parameters:
ospDirectionTTRS
Movable Direction TTRS
Returns:
HRESULT S_OK:- the movable direction has been correctly retrieved. E_FAIL or E_NOIMPL : movable direction cannot be retrieved.
Sub GetRectangularAreaSize( oLength, oWidth)
Gets the size of the rectangular area.
Parameters:
oLength
Length of the Rectangular target area.
oWidth
Width of the Rectangular target area.
Returns:
HRESULT S_OK:- the Area Size has been correctly retrieved. E_FAIL or E_NOIMPL : Area Size cannot be retrieved.
Sub SetAreaForm( iAreaForm)
Sets the form of the target area.
Parameters:
iAreaForm
Form of the target area. Legal values are:- Point, Circular, Rectangular.
Returns:
HRESULT S_OK:- the Area Form has been correctly set. E_FAIL or E_NOIMPL : Area Form cannot be set.
Sub SetCircularAreaSize( iAreaSize)
Sets the size of the circular area.
Parameters:
iAreaSize
Size of the Circular target area.
Returns:
HRESULT S_OK:- the Area Size has been correctly set. E_FAIL or E_NOIMPL : Area Size cannot be set.
Sub SetMovableDirectionTTRS( ipDirectionTTRS)
Sets the movable Direction TTRS.
Parameters:
ispDirectionTTRS
Movable Direction TTRS If the ipDirectionTTRS is NULL_var, the direction TTRS inside the model is removed.
Returns:
HRESULT S_OK:- the movable direction has been correctly set. E_FAIL or E_NOIMPL : movable direction cannot be set.
Sub SetRectangularAreaSize( iLength, iWidth)
Sets the size of the rectangular area.
Parameters:
iLength
Length of the Rectangular target area.
iWidth
Width of the Rectangular target area.
Returns:
HRESULT S_OK:- the Area Size has been correctly set. E_FAIL or E_NOIMPL : Area Size cannot be set.