高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】project files search path
project files search path
project files search path
is there a way to specify the "project files search path" in dwgdirect for xrefs with the "no path" setting?
thanks,
chad
if you override oddbhostappservices::findfile() you can search for xrefs using paths your application knows.
sergey slezkin
quote:
originally posted by sergey slezkin
if you override oddbhostappservices::findfile() you can search for xrefs using paths your application knows.
perfect! thanks for the quick response, sergey.
chad
hi,
concept of projectname in autocad for information:
autocad stored the pathinformation for projectname in registry. you will found these informations in:
code:
product-key: example {software\autodesk\autocad\r15.0\acad-1:407}
product-key: example {software\autodesk\autocad\r16.1\acad-301:407}
product-key: example {software\autodesk\autocad\r16.2\acad-4001:407}
activecprofile: with (getvar "cprofile")
[hkey_current_user\{product-key}\profiles\{activecprofile}\project settings]
example:
[hkey_current_user\software\autodesk\autocad\r16.2\acad-4001:407\profiles\hicads\project settings\igm]
"refsearchpath"="c:\\aktuell;c:\\aktuell\\00-projekte"
the projectname is stored in dwg. autocad search this projectname in registry, looks in given directories for declared xref's and loaded in current dwg.
so the best way to stored xrefs is:
(1) defined xrefs without absolutepath
(2) and put a projectname in currentdwg.
(3) write this projectname in your autocadprofile with directories.
___________
ralph
|