Sorry, I don't think that information is available. The code for driving the curtain wall tool is not part of the public API, so there is no interface or code for achieving that. If you want to do something like it, you would have to write it all from the ground up (probably using the host OS API).
The only source of examples I'm aware of is the ARCHICAD API dev site:
http://archicadapi.graphisoft.com/
Ralph Wessel BArch
Software Engineer Speckle Systems