Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Start BC without intial drawing template

I want starting BC without intial drawing template.

I try add "(command "CLOSE")" into on_doc_load.lsp, but it closing every opened file direct double click.

Is way how run BC without intial drawing template?


  • Using lisp this works:

    Create an on_start.lsp with this content:
    (if (zerop (getvar "dwgtitled")) (setvar "users1" "close")) (princ)

    Create an on_doc_load.lsp with this content:
    (if (= (getvar "users1") "close")
    (setvar "cmdecho" 0)
    (command "_.close")

    You could also use a start up switch and a script:
    "C:\Program Files\Bricsys\Bricscad V10\bricscad.exe" /b "close.scr"
    Content of close.scr:

  • LISP works! Great! Thanks!

  • Yep, the LISP works great for me as well.

    Thank You,
    Joe Dunfee
  • For BricsCAD V14 you do not have to create two Lisp files. Only creating this on_start.lsp is enough:
    [code](if (zerop (getvar "dwgtitled"))
        (setvar "cmdecho" 0)
        (command "_.close")

    For V10 the solution with two files is required to avoid a command line message ('This command is available only when a drawing is open.').
This discussion has been closed.
Origami is the Japanese word for paper folding. ORI means to fold and KAMI means paper and involves the creation of paper forms usually entirely by folding.

Powered by VanillaForums, Designed by Steam