<Three> objectARX development: adding, deleting, uninstalling and reloading of external reference files (XREF)

1. Description

  AutoCAD supports users to import external *.dwg files into the current drawing in the form of reference blocks, and use the CAD command "XREF" to call up the external reference window for viewing, for example:
insert image description here

2. Use objectARX to implement

The effect is as follows: support adding, deleting, uninstalling and reloading external reference files.
insert image description here
1) Add reference

    CString strFileName;
	int nIndex = strFilePath.ReverseFind('\\');
	if (nIn

Guess you like

Origin blog.csdn.net/m0_37251750/article/details/130599290