Message 1 of 3
pdf with apprentice

Not applicable
09-04-2009
12:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to create a PDF from an IDW. Thing is, I want to use Apprentice server and I want to use C# to do it.
I have seen examples of this in VB but it won't work for me:
{color:#008080}TranslatorAddIn{color} PDFMaker = m_oserver.ApplicationAddIns.get_ItemById({color:#993300}"{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}"{color});
This results in th error:
Error 2 Cannot implicitly convert type 'Inventor.ApplicationAddIn' to 'Inventor.TranslatorAddIn'. An explicit conversion exists (are you missing a cast?)
I can get the ApplicationAddIn just fine, but I cant turn it into a {color:#008080}TranslatorAddIn.{color}