The GetXRefPath transaction returns the path, for the specified file format, where Imagenation searches for external reference files. The vector file formats CADRA, DGN, and DWG/DXF and the text file format RTF allow external references to other files of those types.
Type XTYP_REQUEST
Syntax [GetXRefPath(formatID)]
|
Parameter |
Data type |
Values |
Meaning |
|
formatID |
DWORD |
0 |
default path. See Remarks. |
|
|
|
502 |
DWG/DXF. See Remarks. |
|
|
|
508 |
DGN |
|
|
|
526 |
CADRA |
|
|
|
704 |
RTF |
|
Reply |
Data type |
Values |
Meaning |
|
searchPath |
string |
directory1; directory2; … |
list of directories, separated by semicolons, up to 1024 characters |
Remarks
Try the path for the specific format first. If that fails, use the default value (0).
All DWG and DXF formats point to the same directory paths. To define these paths, you could also use the formatID of any DWG or DXF format. In the table, the value 502 was used for simplicity.
Release information
Added in Release 3.82.
Modified in Release 4.5 to also support CADRA files.
See also