NXOpen.UF.ModlFeatures.AskSweep

ModlFeatures.AskSweep()

Refer to UF_MODL_ask_sweep for documentation.

Signature: AskSweep(featureObjId)

Parameters:featureObjId (Tag) – Feature object identifier of sweep
Returns:A Tuple
Return type:A tuple consisting of (sGuide,sSection,sSpine,orientation,scaling,alignment,inter,bodyType,tol)

sGuide(`NXOpen.UF.Modl.StringList Refer to string_list for documentation.`): Pointer to the string list structure containing the data defining the guide curves used to create the feature. See structure section of manual for details. Use UF_MODL_free_string_list to deallocate memory.

sSection(`NXOpen.UF.Modl.StringList Refer to string_list for documentation.`): Pointer to the string list structure containing the date defining the section curves used to create the feature. See structure section of manual for details. Use UF_MODL_free_string_list to deallocate memory.

sSpine(`NXOpen.UF.Modl.StringList Refer to string_list for documentation.`): Pointer to the string list structure for the spine string. Use UF_MODL_free_string_list to deallocate memory.

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(`NXOpen.UF.Modl.MethodList Refer to method_list for documentation.`): 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 1 = Solid

tol(list of float): Tolerances: [0] = Distance [1] = Angle (in degrees) [2] = Intersection

License requirements: None