Please enable JavaScript to view this site.

 

IKompasDocument kompasDoc = KomApp.ActiveDocument;

IDrawingDocument doc2D = (IDrawingDocument) kompasDoc; // Здесь выполнится QueryInterface

 

или

 

IDrawingDocument doc2D = (IDrawingDocument) KomApp.ActiveDocument // Здесь выполнится QueryInterface

 

Подразделы:

(отсутствуют)

© ООО «АСКОН-Системы проектирования», 2024. Все права защищены. | Единая телефонная линия: 8-800-700-00-78