You have to use the “opendb” command.  The open command you ran is a Tcl 
command, used for file operations.

Cheers!
Sean


> On Nov 13, 2018, at 11:33 AM, blubee blubeeme <gurenc...@gmail.com> wrote:
> 
> I was playing with brl-cad trying to develop a workflow with the desktop 
> entry.
> 
> Since I could not get rid of the shell, I switched to this
> mged -a ogl -c
> which will launch the graphical window and the shell turns into a mged 
> command window; Awesome, no need to have a spare shell floating around.
> 
> The only issue I face now is, is it possible to open a brlcad database from 
> the mged command?
> 
> If I type open databasename.g
> 
> i'll get an output file[0-9]
> but typing list i get the error; database not open.
> 
> Is it possible to open a database from the mged command line interface w/o 
> using the GUI?
> 
> On Tue, Nov 6, 2018 at 12:59 PM Christopher Sean Morrison via brlcad-devel 
> <brlcad-devel@lists.sourceforge.net 
> <mailto:brlcad-devel@lists.sourceforge.net>> wrote:
> 
> 
> On Nov 6, 2018, at 11:37 AM, blubee blubeeme <gurenc...@gmail.com 
> <mailto:gurenc...@gmail.com>> wrote:
> 
>> 
>> 
>> On Tue, Nov 6, 2018 at 10:51 PM Christopher Sean Morrison via brlcad-devel 
>> <brlcad-devel@lists.sourceforge.net 
>> <mailto:brlcad-devel@lists.sourceforge.net>> wrote:
>> 
>> 
>> > It seems to just silently fail and nothing happens.
>> 
>> Would you check ps to make sure it’s not running without a window, e.g., 
>> run: ps auxwww | grep mged
>> ps -auxxw | grep -i brlcad
>> blubee   24707  0.0  0.0 213812   980 pts/0    S+   00:35   0:00 grep 
>> --color=auto -i brlcad
>> 
>> ps -auxxw | grep -i mged  
>> blubee   24711  0.0  0.0 213812  1036 pts/0    S+   00:36   0:00 grep 
>> --color=auto -i mged
> 
> Thanks.  That’s a good sign actually.
> 
>>  
>> Thanks, what OS is this on?
>> I am running Fedora 28 x86_64 I downloaded the sources from sourceforge. 
> 
> Ok cool, I already have that set up and running somewhere so I can test it 
> out easily enough tonight.
> 
> Cheers!
> Sean
> 
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net <mailto:brlcad-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel 
> <https://lists.sourceforge.net/lists/listinfo/brlcad-devel>
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel

_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to