[Solved] Get extension from an unsaved document

All topics about specific development with COM interface, LIP language, API in VB, ...

Moderators: remi77, jacs, Daniel

Christopher
Private First Class
Private First Class
Posts: 15
Joined: Thu Feb 14, 2008 1:24 pm

[Solved] Get extension from an unsaved document

Unread post by Christopher »

Hello,

does someone know a way, to get the extension (.top .dft. wod. cam) of the active document, when this has not been saved yet?

Should be easy, but i dont find the good command.
Christopher
Private First Class
Private First Class
Posts: 15
Joined: Thu Feb 14, 2008 1:24 pm

Unread post by Christopher »

i solved this with reading the window-title from TopSolid.
It contains the informatin "Design, 2D Draft...".
Not perfect, but OK.
Post Reply