ItemByName for Document

Top  Previous  Next

The syntax is as follows:

 

Document Doc = (Document)m_Inventor.Documents.ItemByName (sFullDocName) ;

 

You need that cast to (Document).

 

 

Text, images and diagrams © 2021 Owen F. Ransen. All rights reserved. (But copy the source code as much as you want!)