Hi,
I doubt we will be able to help you with this here, because this seems more like a development question rather than a user thing.
I suggest you to post your question to:
These forums are frequented by 3rd party Add-on developers and are monitored by the GRAPHISOFT development team. I am sure someone on these forums will be able to answer your question.
Regard,
Daniel Alexander Kovacs
Professional Services Consultant
GRAPHISOFT
For Troubleshooting and useful Tips & Tricks visit