map_dwgtrimobj

AutoCAD Map 3D AutoLISP

Up a level
map_dwgtrimobj
 
 

Trims linear objects inside or outside of a specified boundary.

(map_dwgtrimobj ssclip boundary inorout skiptopo keepod bitflag)

Returns a selection set of objects trimmed by the operation or nil.

ssclip Selection set of objects to trim.
boundary Entity name of a boundary object. Valid objects: a single circle or a single closed 2D polyline
inorout Trim flag:
1 Trim outside boundary
0 Trim inside boundary
skiptopo Skip flag:
1 Skip objects referenced by a topology
0 Trim objects referenced by a topology
keepod Keep flag that sets whether to keep object data of trimmed objects in result object:
1 Drop object data from all trimmed objects
0 Retain object data on all trimmed objects
bitflag Bit flag that sets the way to handle objects that cannot be trimmed:
0 Delete these objects within or on trim boundary
1 Ignore these objects within or on trim boundary
2 Reference the insertion point of any of these
objects within or on trim boundary