I惴 trying to use "dxfout" in an autolisp-program, but I can愒 find
anything about it in the manuals. All I need is a list of parameters,
how can I use it?
Thanks in advance!
Torsten Karsch
You can also set FILEDIA and CMDDIA to zero, run the command, and set
FILEDIA and CMDDIA back to 1.
jrf
You can do it with:
(command "DXFOUT" [parameter])
(command ...) is described in the AutoLISP-manual.
In article <35EBE59D...@t-online.de>,
Torsten Karsch <TKa...@t-online.de> wrote:
> Hello!
>
> I惴 trying to use "dxfout" in an autolisp-program, but I can愒 find
> anything about it in the manuals. All I need is a list of parameters,
> how can I use it?
>
> Thanks in advance!
>
> Torsten Karsch
>
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Jon Fleming wrote:
> In the help file, "Command Reference", "Commands", "DXFOUT", pick the
> green "command line" at the end of the entry.
>
> You can also set FILEDIA and CMDDIA to zero, run the command, and set
> FILEDIA and CMDDIA back to 1.
Okay, thanks! But I still have one problem: dxfout writes everything into
the DXF-file, even objects on frozen layers. Is there anything I can do
about that?
TIA
Torsten Karsch
Yes. If you are using the dialog-box version, pick the "Options..." button
and check the "Select Objects" box. Or, if you are using the command-line
version, at the second prompt type "O" and select the objects. If you are
using LISP, you can set up a selection set. For example, to export all the
lines in a drawing:
(if (setq SelSet (ssget "_X" '((0 . "LINE"))))
(command "._DXFOUT" "C:\LINES.DXF" "_O" SelSet "" 16)
)
jrf