API: Isn't there an Offset command?

Hi,

 

I've been searching the API documentation for the OFFSET command, but haven't found anything. Does it exist, or do I really have to create all my entities which need a double border twice, doing all the offset calculations myself?

(I also tried recording a macro of the Offset command inside the UI, but that just created copies of the entities with the offset parameters)

 

Thanks!

K.