ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

get file format

1 REPLY 1
Reply
Message 1 of 2
Anonymous
164 Views, 1 Reply

get file format

Hi

How can I get the current file format from a document?
For example, to know if a file is a dwt?
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

In article <904FCBE7FD9B28E1551E1AA2847FD842@in.WebX.maYIadrTaRb>, boulet@abvent.fr says...
> Hi
>
> How can I get the current file format from a document?
> For example, to know if a file is a dwt?
>
char *GetCurrentFileFormat()
{
return ".DWG";
}

Sorry, not enough coffee yet....
Once you have a document it will always be in DWG-format. A DWT is only during startup used
to create an initial copy of the drawing (actually a DWT is just a DWG with a different
extension)
Why/what would you need to know about the 'DWT'?
--
Jos Groot Lipman

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost