![]() |
【转帖】is there a way to ping a file = documentation
is there a way to "ping" a file + documentation?
is there a way to "ping" a file + documentation? hi all: i'm new to this toolkit and have a quick question. is there a way to "ping" a file to determine if it's a valid cad file? i don't want to actually load the entire database, just assess whether or not i _might_ be able to open it eventually. i can do this quickly in perl via swig but i'm loathe to rewrite the functionality if it already exists. additionally is there more complete api documentation (ie doxygen/uml) available for the toolkit? i'm quickly becoming frustrated with the thin documentation and lack of simple "getting started" style examples and/or tutorial. or maybe i just haven't had enough espresso today ... ? many thanks in advance; sga we don't have any functionality resembling the "ping" that you described (nor does autocad). our examples/odreadex sample is a good starting point for extracting information out of a dwg/dxf file, and examples/odwriteex contains code for creating various objects and adding them to a database. the developer's guide section in dwgdirect.chm contains information about getting started with dwgdirect. a way out is to only partially load the drawing objects in memory. refer dwgdirect paging support in the help file. |
所有的时间均为北京时间。 现在的时间是 03:54 AM. |