leSplitShape
leSplitShape(
d_shapeId
l_delta
l_splitLine
g_leftOrRight
[ g_lockAngles ]
)
=> t / nil
Description
Splits a shape and moves one portion of it. Uses a multi-segment split line to divide the shape.
Arguments
|
d_shapeId
|
The database ID of the shape you want to redraw.
|
|
l_delta
|
List specifying distances in the X and Y direction to move the split portion.
|
|
l_splitLine
|
List of points defining the split line.
|
|
g_leftOrRight
|
Boolean specifying whether the part to be moved is to the left or right of the split line. Left and right are defined by the order of the points in the split line. Valid Values: t (left) or nil (right)
|
|
g_lockAngles
|
Boolean specifying whether angles between edges should be preserved. Default Value: t
Valid Values: t or nil
|
Value Returned
|
t
|
The operation was successful.
|
|
nil
|
The operation was not successful.
|
Example
Moves the split portion of selected shape 10 units in the X direction and 12 units in the Y direction. The stretch group is to the left of the split line and the angles of the object do not change.
leSplitShape(car(geGetSelectedSet()) list(10 12) list(0:0 0:10) t t)
Return to top