Replace Design

Is there a way to do a replace design in a database through lotuscript?

Thanks.

Subject: There is LS Code floating around using an undocumented C API call