
This method will load an external Dwg file and list the blocks available in it.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_BlockList_LoadDwg MyControlReference [as Reference] sFileName [as String]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_BlockList_LoadDwg ProjectFile [as String] DialogName [as String] ControlName [as String] sFileName [as String]) |
Copy Code |
|---|
; Load a drawing (Odcl_BlockList_LoadDwg MyProject_MyForm_MyControl "GreatPlan.dwg") |