NXOpen.UF.Draw.CreateSteppedSxview¶
-
Draw.
CreateSteppedSxview
()¶ Refer to UF_DRAW_create_stepped_sxview for documentation.
Signature:
CreateSteppedSxview(dwgTag, sxviewScale, stepDir, arrowDir, pviewTag, numSxsegs, steppedSxsegs, viewPlacementPt)
Parameters: - dwgTag (Tag) – Drawing tag
- sxviewScale (float) – Section view scale
- stepDir (list of float) – Step direction vector (unitized) relative to the drawing: step_dir[0] = x value step_dir[1] = y value step_dir[2] = z value
- arrowDir (list of float) – Arrow direction vector (unitized) relative to the drawing. arrow_dir[0] = x value arrow_dir[1] = y value arrow_dir[2] = z value
- pviewTag (Tag) – Parent view tag
- numSxsegs (int) – Number of section segments used to initially define the section line. A cut segment must be provided (num_sxsegs>0). This number determines the length of the stepped_sxsegs array.
- steppedSxsegs (list of
NXOpen.UF.Draw.SxlineSxsegs
Refer to UF_DRAW_sxline_sxsegs_s for documentation.) – For each section segment defined, a segment type is given that determines whether the segment is a cut, bend or arrow. Bend and arrow segments are optional. Also, for each section seg ment defined, an object is given to de fine the section segment associativity. A section line cannot have more than 99 segments and cannot have more than 49 cut segments. - viewPlacementPt (list of float) – View placement point on drawing in absolute drawing coordinates (x,y))
Returns: Tag of newly created section view
Return type: License requirements: DRAFTING