pycatia.dnb_fastener_interfaces.dnb_fastener_management¶
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.dnb_fastener_interfaces.dnb_fastener_management.DnbFastenerManagement(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDNBFastenerManagementValid fastener process types and its fastening context *The valid known values for process types for fasteners and value for itsfastening contextPoint fasteners fastening contextsealant point1spot weld2stud weld2Glue Drop1Rivet2Screw2clinch2Drill2adhesive point1stud2 Curve fastenersadhesive Curve1arc weld2sealant curve1glue bead1adhesive1sealant1spot glue1- create_curve_fastener(i_name: str, i_parent_group_body: FastenerGroup, i_list_of_joining_parts: tuple, i_process_type: str, i_fastening_context: int, i_design_points_positions: tuple, i_feature_cgr_path: str, o_curve_fastener: CurveFastener) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub CreateCurveFastener(CATBSTR iName,FastenerGroup iParentGroupBody,CATSafeArrayVariant iListOfJoiningParts,CATBSTR iProcessType,short iFasteningContext,CATSafeArrayVariant iDesignPointsPositions,CATBSTR iFeatureCGRPath,CurveFastener oCurveFastener)Creates a curve fastener in the V5 .. only for flat filescenario.Parameters:inCATBSTR iName Name of the feature to be created.. a unique valuehas to be provided.inoutDELMIAFastenerGroup iParentGroupBody Parent under which fastener tobe created In case of no parent provided, fastener would be created under topfastener group(assembly joint(s)) automatically.inCATSafeArrayVariant iListOfJoiningParts List of joining parts forfastener In case, the parent assembly joint already has joining partinformation empty list can be provided,inCATBSTR iProcessType Process type for fastener : refer known values on top section offile. any custom value other than known values can be providedinshort iFasteningContext fastening contex : refer known values on top section of file fora process type For custom fastener type.. value can be 1 or greater. if any other valueprovided default would be set to 2.inCATSafeArrayVariant iDesignPointsPositions Design position forcurve fastener Multiple support points can be provided in a sequence in thearray in the order of “XYZYPR” for each point .. YPR values should be inDegree. if fastener has n points , then size of array should be exactly of 6nnow assign values for first point’s poisition in XYZYPR format at location 0-5.. next point’s 6-11… next 12-17… 18-23… 6(n-1)-(6n-1)inCATBSTR iFeatureCGRPath Representation for curve fastener Valueshould be complete file pathoutDELMIACurveFastener oCurveFastener Created curve fastener *Example:Set myObject = CATIA.GetItem(“DNBFastenerManagement”)myObject.CreateCurveFastener “Curve Fastener.1”, ParentGroupObj,JoinPartArray,”arc weld”,2, DesignPos, FeatureRepPath, oCurveFast
- Parameters:
i_name (str) –
i_parent_group_body (FastenerGroup) –
i_list_of_joining_parts (tuple) –
i_process_type (str) –
i_fastening_context (int) –
i_design_points_positions (tuple) –
i_feature_cgr_path (str) –
o_curve_fastener (CurveFastener) –
- Return type:
None
- create_fastener_group(i_name: str, i_parent_group_body: FastenerGroup, i_list_of_joining_parts: tuple, o_fastener_group: FastenerGroup) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub CreateFastenerGroup(CATBSTR iName,FastenerGroup iParentGroupBody,CATSafeArrayVariant iListOfJoiningParts,FastenerGroup oFastenerGroup)Creates a fastener group in the V5 .. only for flat filescenario.Parameters:inCATBSTR iName Name of the feature to be created.. a unique valuehas to be provided.inoutDELMIAFastenerGroup iParentGroupBody Parent under which fastenergroup to be created In case of no parent provided, fastener group would becreated under top fastener group(assembly joint(s)) automatically.inCATSafeArrayVariant iListOfJoiningParts List of joining parts forfastener If the List has joining parts .. an assembly joint is created If listhas no part .. a normal fastener group is createdoutDELMIAFastenerGroup oFastenerGroup Created fastener group *Example:Set myObject = CATIA.GetItem(“DNBFastenerManagement”)myObject.CreateFastenerGroup “Assembly Joint.1”, ParentGroupObj,JoinPartArray,oFastenerGroup
- Parameters:
i_name (str) –
i_parent_group_body (FastenerGroup) –
i_list_of_joining_parts (tuple) –
o_fastener_group (FastenerGroup) –
- Return type:
None
- create_point_fastener(i_name: str, i_parent_group_body: FastenerGroup, i_list_of_joining_parts: tuple, i_process_type: str, i_fastening_context: int, i_design_position: tuple, o_point_fastener: PointFastener) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub CreatePointFastener(CATBSTR iName,FastenerGroup iParentGroupBody,CATSafeArrayVariant iListOfJoiningParts,CATBSTR iProcessType,short iFasteningContext,CATSafeArrayVariant iDesignPosition,PointFastener oPointFastener)Creates a point fastener in the V5 .. only for flat filescenario.Parameters:inCATBSTR iName Name of the feature to be created.. a unique valuehas to be provided.inoutDELMIAFastenerGroup iParentGroupBody Parent under which fastener tobe created In case of no parent provided, fastener would be created under topfastener group(assembly joint(s)) automatically.inCATSafeArrayVariant iListOfJoiningParts List of joining parts forfastener In case, the parent assembly joint already has joining partinformation empty list can be provided,inCATBSTR iProcessType Process type for fastener : refer known values on top section offile. any custom value other than known values can be providedinshort iFasteningContext fastening contex : refer known values on top section of filefor a process type For custom fastener type.. value can be 1 or greater. if any othervalue provided default would be set to 2.inCATSafeArrayVariant iDesignPointsPositions Design position forpoint fastener in XYZYPR format …. YPR values should be in Degree. arrayshould be exactly of size of six array should contains values on index from 0-5in a sequence order of XYZYPR format.outDELMIAPointFastener oPointFastener Created point fastener *Example:Set myObject = CATIA.GetItem(“DNBFastenerManagement”)myObject.CreatePointFastener “Point Fastener.1”, ParentGroupObj,JoinPartArray,”spot weld”,2, DesignPos, oPointFastener
- Parameters:
i_name (str) –
i_parent_group_body (FastenerGroup) –
i_list_of_joining_parts (tuple) –
i_process_type (str) –
i_fastening_context (int) –
i_design_position (tuple) –
o_point_fastener (PointFastener) –
- Return type:
None