pycatia.cat_str_functional_interfaces.sfm_standard_contour_parameters¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.cat_str_functional_interfaces.sfm_standard_contour_parameters.SFMStandardContourParameters(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionSfmStandardContourParametersInterface to access Contour Parametrs from/to the collection.- get_role() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetRole() As CATBSTR
- Return type:
str
- item(i_index: cat_variant) Parameter ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As ParameterGets 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 theseparameters then can be set.Dim oListCkeParms As SfmStandardContourParametersSet oListCkeParms = ObjSfmContourMgr.GetStdOpeningContourParams(“Sfm_Rect”)‘Display List of Parameters for Selected ContourDim NbOfParam As LongNbOfParam = oListCkeParms.CountDim ContourParam As ParameterDim ContourParamName As StringFor i = 1 To NbOfParamSet ContourParam = oListCkeParms.Item(i)ContourParamName = oListCkeParms.Item(i).NameMsgBox ContourParamNameIf ContourParamName = “Sfm_Width” ThenContourParam.ValuateFromString (“1000mm”)End IfIf ContourParamName = “Sfm_Height” ThenContourParam.ValuateFromString (“2000mm”)End IfIf ContourParamName = “Sfm_CornerRadius” ThenContourParam.ValuateFromString (“10mm”)End IfNext
- Parameters:
i_index (cat_variant) –
- Return type: