NXOpen.UF.ModlFeatures.CreateSweep

ModlFeatures.CreateSweep()

Refer to UF_MODL_create_sweep for documentation.

Signature: CreateSweep(sGuide, sSection, sSpine, orientation, scaling, alignment, inter, bodyType, booleanArg, tol)

Parameters:
  • sGuide (NXOpen.UF.Modl.StringList Refer to string_list for documentation.) – Pointer to the guide list structure. int num Total number of guide strings (min=1, max=3) int string[ ] Total number of segment curves/ sketch identifier of each guide string (min=1, max =402) int dir[ ] Direction of each guide string 1 = Start to end -1 = End to start tag_t id[ ] Identifier of guide curve
  • sSection – Pointer to the section list structure. int num Total number of section strings (min=1, max=150) int string[ ] Total number of segment curves/ sketch/face of each section string (min=1, max=402) int dir[ ] Direction of each section string 1 = Start to end -1 = End to start tag_t id[ ] Identifier of section curve
  • sSpine – Pointer to the spine list structure. int num Total number of section strings (min=0, max=1) int string[ ] Total number of segment curves/ sketch/face of each section string (min=1, max=402) int dir[ ] Direction of each section string 1 = Start to end -1 = End to start tag_t id[ ] Identifier of spine curve
  • orientation (NXOpen.UF.Modl.MethodList Refer to method_list for documentation.) – Pointer to the orientation list structure. int method Orientation method (for s_guide-> num = 1) 1 = Face normals 2 = Vector direction 3 = Another curve 4 = Fixed (parallel sweep) 5 = A point 6 = Angular law 7 = Forced direction int inter NOT USED tag_t id Base surface (for orientation->method =1) Datum axis (for orientation->method = 2,7) double value[3] Orientation 3D vector (for orientation->method = 2,7) Orientation 3D point (for orientation->method = 5) Law Function Value (for orientation->method=6) [0] = Angle law function offset [1] = Angle law function scale UF_STRING_p_t s_curve Pointer to curve structure list (for orientation->method = 3 or 6)
  • scaling – Pointer to the scaling list structure. int method Scaling method (for s_guide-> num = 1) 1 = Constant scale 2 = Blended 3 = Another curve 4 = A point 5 = Area law (for s_guide-> num = 2) 6 = Scale laterally 7 = Scale uniformly int inter Scale blended interpolation (for scaling->method = 2) tag_t id NOT USED double value[3] Scale values [0] = Scale factor (for scaling->method = 1) [0-1] = Scale range (for scaling->method = 2) [0-2] = 3D absolute point (for scaling->method = 4) Law Function Value (for scaling->method=5) [0] = Area law function offset [1] = Area law function scale UF_STRING_p_t s_curve Pointer to curve structure list (for scaling->method = 3 or 5)
  • alignment (int) – Alignment method: 1 = Parameter 2 = Arc Length
  • inter (int) – Interpolation method (for s_section->num > 1): 1 = Linear 2 = Cubic
  • bodyType (int) – Type of body: 0 = Sheet (Default) 1 = Solid
  • booleanArg (NXOpen.UF.Modl.FeatureSigns Refer to UF_FEATURE_SIGNS for documentation.) – The sign of the operation to be performed. UF_NULLSIGN = create new target solid UF_POSITIVE = add to target solid UF_NEGATIVE = subtract from target solid UF_UNSIGNED = intersect with target solid
  • tol (list of float) – Tolerances: [0] = Distance [1] = Angle (in degrees) [2] = Intersection
Returns:

Body object identifier of sweep

Return type:

Tag

License requirements: SOLIDS MODELING