The SetXRefPath transaction sets 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. You can assign a search path to each file format.
Type XTYP_EXECUTE
Syntax [SetXRefPath(formatID, "searchPath")]
|
Parameter |
Data type |
Values |
Meaning |
|
formatID |
WORD |
0 |
all valid formats |
|
|
|
502 |
DWG/DXF. See Remarks. |
|
|
|
508 |
DGN |
|
|
|
526 |
CADRA |
|
|
|
704 |
RTF |
|
searchPath |
list of directories separated by semicolons, up to 1024 characters |
directories in which to search for external references |
Remarks
All DWG and DXF formats point to the same directory paths. To define these paths, you could use the formatID of any DWG or DXF format. In the table, the value 502 (DXF ASCII) was used for simplicity.
Release information
Added in Release 3.82.
Modified in Release 4.5 to also support CADRA files.
See also