SfmStandardContourParameters (Object)

Interface to access Contour Parametrs from/to the collection.

Methods


Func GetRole() As
Func Item( iIndex) As
Gets a Reference from the collection.
Parameters:
iIndex
[in] Index of the Reference to be retrieved.
oReference
[out] Reference.
Returns:
S_OK if everything ran ok.
Example
:
This example retrieves Contour Parameters. The Values to these parameters then can be set.
 Dim oListCkeParms As SfmStandardContourParameters
 Set oListCkeParms = ObjSfmContourMgr.GetStdOpeningContourParams("Sfm_Rect")
 'Display List of Parameters for Selected Contour
 Dim NbOfParam As Long
 NbOfParam = oListCkeParms.Count
 Dim ContourParam As Parameter
 Dim ContourParamName As String
 For i = 1 To NbOfParam
 Set ContourParam = oListCkeParms.Item(i)
 ContourParamName = oListCkeParms.Item(i).Name
 MsgBox ContourParamName
 If ContourParamName = "Sfm_Width" Then
    ContourParam.ValuateFromString ("1000mm")
    End If
  If ContourParamName = "Sfm_Height" Then
    ContourParam.ValuateFromString ("2000mm")
     End If
  If ContourParamName = "Sfm_CornerRadius" Then
   ContourParam.ValuateFromString ("10mm")
     End If
  Next