pycatia.cat_str_functional_interfaces.sfm_endcut_manager¶
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_endcut_manager.SFMEndcutManager(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSfmEndcutManagerInterface to get information on available endcuts fromcatalog.Role: Allows to see avaiable endcuts and their reuired inputs.- get_available_endcuts(i_section_family: str, i_endcut_type: str) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAvailableEndcuts(CATBSTR iSectionFamily,CATBSTR iEndcutType) As CATSafeArrayVariantGets the list of available endcuts for a given family and type from thecatalog.Parameters:iSectionFamily[in] The name of the Section Family(Tee,Angle,Bulb).iType[in] The Type of Endcut(Snipe,Trim,Weld).oListEndcutNames[out] A list of the available Endcuts.Returns:S_OK if everything ran okExample:This Example retrieves the list of avaliable Endcuts for TeeProfileType and Snipe EndcutType.Dim FactoryObj As SfmOperationFactorySet FactoryObj = PartObj.GetCustomerFactory(“SfmOperationFactory”)Dim EndCutManagerObj As SfmEndcutManagerSet EndCutManagerObj = FactoryObj.GetEndcutManagerDim ListOfEndCutNames() As VariantListOfEndCutNames = EndCutManagerObj.GetAvailableEndcuts(“Tee”, “Snipe”)
- Parameters:
i_section_family (str) –
i_endcut_type (str) –
- Return type:
tuple
- get_endcut_specifications(i_section_family: str, i_endcut_type: str, i_endcut_name: str, o_list_of_context_names: tuple, o_list_end_cut_parameters: SFMConnectionParameters, o_list_of_end_cut_param_names: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetEndcutSpecifications(CATBSTR iSectionFamily,CATBSTR iEndcutType,CATBSTR iEndcutName,CATSafeArrayVariant oListOfContextNames,SfmConnectionParameters oListEndCutParameters,CATSafeArrayVariant oListOfEndCutParamNames)Gets the Specifications required to define a particularEndcut.Parameters:iSectionFamily[in] The Section Family(Tee,Angle,Bulb).iEndcutType[in] The EndcutType(Snipe,Trim,Weld).iEndcutName[in] The Name of the Endcut sought from GetAvailableEndcuts Method.oListOfContextNames[out] The Limit Names for the Endcut(Cutbacks & Contextual only).The List will be empty for Cutom Endcut.oListEndCutParameters[out] A list of Parameters published by the UDF. The default valuescan be read using this output.oListOfEndCutParamNames[out] A list of Parameter Names published by the UDF.Returns:S_OK if everything ran okExample:This Example retrieves the list of avaliable Endcuts for TeeProfileType and Snipe EndcutType.Dim FactoryObj As SfmOperationFactorySet FactoryObj = PartObj.GetCustomerFactory(“SfmOperationFactory”)Dim EndCutManagerObj As SfmEndcutManagerSet EndCutManagerObj = FactoryObj.GetEndcutManagerDim ListOfContextNames, ListOfUDFParamNames AsVariantDim ListOfUDFParameters AsSfmConnectionParametersEndCutManagerObj.GetEndcutSpecifications “Tee”, “Snipe”,“T-CTX-PLATE”, ListOfContextNames, ListOfUDFParameters,ListOfUDFParamNames
- Parameters:
i_section_family (str) –
i_endcut_type (str) –
i_endcut_name (str) –
o_list_of_context_names (tuple) –
o_list_end_cut_parameters (SFMConnectionParameters) –
o_list_of_end_cut_param_names (tuple) –
- Return type:
None