The valid known values for process types for fasteners and value for its fastening context
-
Point fasteners fastening context
- sealant point 1
- spot weld 2
- stud weld 2
- Glue Drop 1
- Rivet 2
- Screw 2
- clinch 2
- Drill 2
- adhesive point 1
- stud 2 Curve fasteners
- adhesive Curve 1
- arc weld 2
- sealant curve 1
- glue bead 1
- adhesive 1
- sealant 1
- spot glue 1
Methods
- Sub CreateCurveFastener( iName, iParentGroupBody, iListOfJoiningParts, iProcessType, iFasteningContext, iDesignPointsPositions, iFeatureCGRPath, oCurveFastener)
-
Creates a curve fastener in the V5 .. only for flat file scenario.
- Parameters:
-
- in
- CATBSTR iName Name of the feature to be created.. a unique value has to be provided. dd>
- inout
- DELMIAFastenerGroup iParentGroupBody Parent under which fastener to be created In case of no parent provided, fastener would be created under top fastener group(assembly joint(s)) automatically. dd>
- in
- CATSafeArrayVariant iListOfJoiningParts List of joining parts for fastener In case, the parent assembly joint already has joining part information empty list can be provided, dd>
- in
- CATBSTR iProcessType Process type for fastener : refer known values on top section of file. any custom value other than known values can be provided dd>
- in
- short iFasteningContext fastening contex : refer known values on top section of file for a process type For custom fastener type.. value can be 1 or greater. if any other value provided default would be set to 2. dd>
- in
- CATSafeArrayVariant iDesignPointsPositions Design position for curve fastener Multiple support points can be provided in a sequence in the array in the order of "XYZYPR" for each point .. YPR values should be in Degree. if fastener has n points , then size of array should be exactly of 6n now 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) dd>
- in
- CATBSTR iFeatureCGRPath Representation for curve fastener Value should be complete file path dd>
- out
- DELMIACurveFastener oCurveFastener Created curve fastener *
- Example:
- Set myObject = CATIA.GetItem("DNBFastenerManagement") myObject.CreateCurveFastener "Curve Fastener.1", ParentGroupObj,JoinPartArray,"arc weld",2, DesignPos, FeatureRepPath, oCurveFast
- Parameters:
-
- in
- CATBSTR iName Name of the feature to be created.. a unique value has to be provided. dd>
- inout
- DELMIAFastenerGroup iParentGroupBody Parent under which fastener group to be created In case of no parent provided, fastener group would be created under top fastener group(assembly joint(s)) automatically. dd>
- in
- CATSafeArrayVariant iListOfJoiningParts List of joining parts for fastener If the List has joining parts .. an assembly joint is created If list has no part .. a normal fastener group is created dd>
- out
- DELMIAFastenerGroup oFastenerGroup Created fastener group *
- Example:
- Set myObject = CATIA.GetItem("DNBFastenerManagement") myObject.CreateFastenerGroup "Assembly Joint.1", ParentGroupObj,JoinPartArray,oFastenerGroup
- Parameters:
-
- in
- CATBSTR iName Name of the feature to be created.. a unique value has to be provided. dd>
- inout
- DELMIAFastenerGroup iParentGroupBody Parent under which fastener to be created In case of no parent provided, fastener would be created under top fastener group(assembly joint(s)) automatically. dd>
- in
- CATSafeArrayVariant iListOfJoiningParts List of joining parts for fastener In case, the parent assembly joint already has joining part information empty list can be provided, dd>
- in
- CATBSTR iProcessType Process type for fastener : refer known values on top section of file. any custom value other than known values can be provided dd>
- in
- short iFasteningContext fastening contex : refer known values on top section of file for a process type For custom fastener type.. value can be 1 or greater. if any other value provided default would be set to 2. dd>
- in
- CATSafeArrayVariant iDesignPointsPositions Design position for point fastener in XYZYPR format .... YPR values should be in Degree. array should be exactly of size of six array should contains values on index from 0-5 in a sequence order of XYZYPR format. dd>
- out
- DELMIAPointFastener oPointFastener Created point fastener *
- Example:
- Set myObject = CATIA.GetItem("DNBFastenerManagement") myObject.CreatePointFastener "Point Fastener.1", ParentGroupObj,JoinPartArray,"spot weld",2, DesignPos, oPointFastener