I found in the web a routine of how to insert a block with attributes and trim the line or pline outside the block. The routine requires DXF and USTR functions, I don't know much about those functions. Could somebody give me a hand, Thanks Alfonso