ldiv#
- Lines.ldiv(nl1='', ratio='', pdiv='', ndiv='', keep='', **kwargs)#
Divides a single line into two or more lines.
Mechanical APDL Command: LDIV
- Parameters:
- nl1
str Number of the line to be divided. If negative, assume
P1(see below) is the second keypoint of the line instead of the first forRATIO. If ALL, divide all selected lines ( lsel ). IfNL1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forNL1.- ratio
str Ratio of line length
P1-PDIVto line lengthP1-P2. Must be between 0.0 and 1.0. Input ignored ifNDIV> 2.- pdiv
str Number to be assigned to keypoint generated at division location (defaults to lowest available keypoint number ( numstr )). Input ignored if
NL1= ALL orNDIV> 2. IfPDIValready exists and lies on lineNL1, divide line atPDIV(RATIOmust also be 0.0). IfPDIValready exists and does not lie on lineNL1,PDIVis projected and moved to the nearest point on lineNL1(if possible).PDIVcannot be attached to another line, area, or volume.- ndiv
str The number of new lines to be generated from old line (defaults to 2).
- keep
intorstr Specifies whether to keep the input entities:
0- Modify old line to use new keypoints and slopes.1- Do not modify old line. New lines will overlay old line and have unique keypoints.
- nl1
Notes
Divides a single line
NL1(defined from keypointP1to keypointP2) into two or more lines. LineNL1becomes the new line beginning with keypointP1and new lines are generated ending at keypointP2. If the line is attached to an area, the area will also be updated. Line divisions are set to zero (use lesize, etc. to modify).