NXOpen.UF.ModlFeatures.CreateRuled1¶
-
ModlFeatures.
CreateRuled1
()¶ Refer to UF_MODL_create_ruled1 for documentation.
Signature:
CreateRuled1(sSection, sSpine, alignment, value, endPoint, bodyType, booleanArg, targetBody, tol)
Parameters: - sSection (
NXOpen.UF.Modl.StringList
Refer to string_list for documentation.) – Pointer to the section list structure. int num Total number of section string (min=2, max=2) int string[ ] Total number of segment curves/ sketch identifier 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 or the section builder object tags but not both - sSpine – Pointer to the spine list structure. (for alignment = 5) int num Total number of spine string (min=0, max=1) int string[ ] Total number of segment curves/ sketch identifier of each spine string (min=1, max=402) int dir[ ] Direction of each spine string 1 : Start to end -1 : End to start tag_t id[ ] Identifier of spine curve or the section builder object tags but not both
- alignment (int) – Alignment method: 1 = Parameter 2 = Arc length 3 = Distance 4 = Angles 5 = Spine curves
- value (list of float) – Data for alignment method: [0-2] = 3D vector defining direction line (for alignment = 3) [0-5] = 3D start and end coordinates of line defining the axis of revolution for planes (for alignment = 4)
- endPoint (int) – Curve end point or point 0 = Do not use end point 1 = Curve/point of first section string
- 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 - targetBody (Tag) – The target body for the boolean operation
- tol (list of float) – Tolerances: [0] = Distance [1] = Angle (in radians) [2] = Intersection (not used)
Returns: Body object identifier
Return type: License requirements: SOLIDS MODELING and FREE-FORM MODELING or Basic Freeform Modeling
- sSection (