
This method will list all Dwg files in the specified directory.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_DwgList_Dir MyControlReference [as Reference] sDirectory [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_DwgList_Dir ProjectFile [as String] DialogName [as String] ControlName [as String] sDirectory [as String]) |
Copy Code |
|---|
; Browse the drawing in this folder (Odcl_DwgList_Dir MyProject_MyForm_MyControl "C:\Documents and Settings\Default User\Desktop") |