pycatia.cat_str_functional_interfaces.sfm_endcut¶
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.SFMEndcut(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSfmEndcutInterface to manage the EndCut on Super Profile.Role: Allows managing (mainly retreiving parameters)on existingEndCut.See also:SfmProfile, SfmEndcutManager, SfmConnectionParameters- get_connection_coordinate() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetConnectionCoordinate() As CATSafeArrayVariantGets thelocation of existing endcut.Parameters:oCoordinate[out] The Coordinates.Returns:S_OK if everything ran okExample:The example retrieves endcut Coordinates defined on startend.Dim EndcutObj As SfmEndcutSet EndcutObj = StiffObj.GetEndcut(1)Dim Coord() As VariantDim x,y,z as DoubleCoord() = EndcutObj.GetConnectionCoordinatex = Coord(0)y = Coord(1)z = Coord(2)
- Return type:
tuple
- get_endcutinfo(o_type_of_endcut: str, o_name_of_endcut: str, o_list_of_endcut_contexts: SFMReferences, o_list_of_endcut_params: SFMConnectionParameters, o_list_of_end_cut_param_names: tuple) cat_variant ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetEndcutinfo(CATBSTR oTypeOfEndcut,CATBSTR oNameOfEndcut,SfmReferences oListOfEndcutContexts,SfmConnectionParameters oListOfEndcutParams,CATSafeArrayVariant oListOfEndCutParamNames)Gets the information on existing Endcut.Parameters:oTypeOfEndcut[out] Type of Endcut(Snipe,Trim,Weld).oNameOfEndcut[out] Name of the Endcut.oListOfEndcutContexts[out] List of Contexts (Limits) defined for Cutbacks and ContextualEndcuts. The list will be empty for custom UDF based endcuts.oListOfEndcutParams[out] List of Parameters set when defining the Endcut.oListOfEndCutParamNames[out] List of Parameter Names set when defining the Endcut.Returns:S_OK if everything ran okExample:The example retrieves endcut information.Dim EndcutObj As SfmEndcutSet EndcutObj = StiffObj.GetEndcut(1)Dim EndCutName, EndCutType As StringDim ContextList As SfmReferencesDim ParamList As SfmConnectionParametersDim ParamNamesList() As VariantEndcutObj.GetEndcutinfo EndCutType, EndCutName, ContextList,ParamList, ParamNamesList
- Parameters:
o_type_of_endcut (str) –
o_name_of_endcut (str) –
o_list_of_endcut_contexts (SFMReferences) –
o_list_of_endcut_params (SFMConnectionParameters) –
o_list_of_end_cut_param_names (tuple) –
- Return type:
cat_variant
- update_connections_set() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub UpdateConnectionsSet()Updates the Connection Set.Returns:S_OK if everything ran okExample:The example Updates the Connection Set.Dim EndcutObj As SfmEndcutSet EndcutObj = StiffObj.GetEndcut(1)EndcutObj.UpdateConnectionsSet
- Return type:
None