LDIV
LDIV, NL1
, RATIO
, PDIV
, NDIV
, KEEP
Divides a single line into two or more lines.
NL1
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
Ratio of line length
P1
-PDIV
to line lengthP1
-P2
. Must be between 0.0 and 1.0. Input ignored ifNDIV
> 2.PDIV
Number to be assigned to keypoint generated at division location (defaults to lowest available keypoint number (NUMSTR)). Input ignored if
NL1
= ALL orNDIV
> 2. IfPDIV
already exists and lies on lineNL1
, divide line atPDIV
(RATIO
must also be 0.0). IfPDIV
already exists and does not lie on lineNL1
,PDIV
is projected and moved to the nearest point on lineNL1
(if possible).PDIV
cannot be attached to another line, area, or volume.NDIV
The number of new lines to be generated from old line (defaults to 2).
KEEP
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.
Notes
Divides a single line NL1
(defined from keypoint P1
to keypoint P2
)
into two or more lines. Line NL1
becomes the new
line beginning with keypoint P1
and
new lines are generated ending at keypoint P2
.
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).