View Full Version : How to connector file manager use Dialog UI
aris63
11-20-2005, 08:41 PM
In osd lisp defdialog
how to use Dialog UI connector file manager
dorothea
11-20-2005, 09:59 PM
Hello aris63,
Have you checked the documentation about sd-defdialog? In chapter 4.1.1.4 File Selection you find a detailed description of :value-type :filename
If it's not clear, please describe a concrete problem.
Dorothea
aris63
11-20-2005, 10:57 PM
can you make examples to me ?
thanks!
dorothea
11-20-2005, 11:26 PM
It really depends on what you are looking for. Would you like to open a file? Open for reading and/or writing? Would you like to just display a directory? Anything is possible.
Did you have a look into the documentation? There are already a number of examples.
Dorothea
aris63
11-20-2005, 11:42 PM
Select a directory into Dialog UI
dorothea
11-21-2005, 12:06 AM
It's not much information you provide. I'm not sure if I can help you. I think the filemanager was designed to define filenames and not directories. What do you want with that directory in your dialog?
Dorothea
aris63
11-21-2005, 12:26 AM
I want automatic to save 2d annotation drawing
export dwg(autocad file format)
like http://www.cocreateusers.org/forum/showthread.php?t=5667
or
maybe you can tell me how to designed to define filenames into Dialog UI
thanks
dorothea
11-21-2005, 01:33 AM
I'd suggest to read the docu. There you find the following:
:value-type :filename
:direction :output
:if-exists :overwrite
:fileType :dxf
The filetype you need to define yourself using define-file-type
This assumes that the user can specify a name for the file to store along with the directory where to store the file.
Dorothea
vBulletin® v3.8.4, Copyright ©2000-2024, Jelsoft Enterprises Ltd.