![]() |
【转帖】findfile90
findfile()
findfile() where does od?db?host?app?services::findfile() search for files? i do realize it can be overridden. if the file is absent at specified location oddbhostappservices::findfile() searches it in current application folder, in the folder where drawing (dwg) resides, in the path specified by "acad" environment variable, on windows platform in /fonts subfolder of windows directory. sergey slezkin quote: originally posted by sergey slezkin if the file is absent at specified location oddbhostappservices::findfile() searches it in current application folder, in the folder where drawing (dwg) resides, in the path specified by "acad" environment variable, on windows platform in /fonts subfolder of windows directory. this from autocad's objectarx documentation: if fname is qualified by including a drive or directory prefix (for example, "d:test.exp"), acedfindfile() searches only that disk or directory. otherwise, acedfindfile() searches for fname according to the current autocad library path, which consists of the following directories, in order: the current directory the directory that contains the current drawing file the directories named by the acad environment variable (if this variable has been specified) the directory that contains the autocad program files |
所有的时间均为北京时间。 现在的时间是 01:17 PM. |