OLE AssignTemplate argument

Author Message
Matt Eaton 03/05/2007 03:04 pm
What integer argument is passed to the AssignTemplate method? Is it a IID of the template or just an integer from 0 to Templatescount - 1 ?

Thanks
Oleg Chernavin 03/06/2007 02:10 pm
Yes, it is the index from 0 to TemplatesCount - 1. I just added a paragraph about this to the Help file. Thank you!

Best regards,
Oleg Chernavin
MP Staff
Matthew Eaton 03/06/2007 03:17 pm
I think I may have found a small bug in AssignTemplate.

After using AssignTemplate, the GetFolder method doesn't work until you restart OE.

Other than that, it seem to work correctly so far.



> Yes, it is the index from 0 to TemplatesCount - 1. I just added a paragraph about this to the Help file. Thank you!
>
> Best regards,
> Oleg Chernavin
> MP Staff
Oleg Chernavin 03/06/2007 03:48 pm
Thank you! I will fix it right now.

Oleg.
Matthew Eaton 03/06/2007 05:56 pm
Would be fantastic if you could post a hotfix for this when it is available.

Thanks.

> Thank you! I will fix it right now.
>
> Oleg.
Oleg Chernavin 03/07/2007 05:51 am
Sure. Here is the updated oe.exe file:

http://www.metaproducts.com/download/betas/oee2568.zip

Oleg.