Revision: 56790
http://sourceforge.net/p/brlcad/code/56790
Author: tbrowder2
Date: 2013-08-13 14:43:24 +0000 (Tue, 13 Aug 2013)
Log Message:
-----------
add a section on scripting mged
Modified Paths:
--------------
brlcad/trunk/doc/docbook/system/man1/en/mged.xml
Modified: brlcad/trunk/doc/docbook/system/man1/en/mged.xml
===================================================================
--- brlcad/trunk/doc/docbook/system/man1/en/mged.xml 2013-08-13 14:30:47 UTC
(rev 56789)
+++ brlcad/trunk/doc/docbook/system/man1/en/mged.xml 2013-08-13 14:43:24 UTC
(rev 56790)
@@ -170,6 +170,23 @@
</refsection>
+ <refsection xml:id="scripting"><title>SCRIPTING (BATCHING) MGED</title>
+
+ <para>Often it is convenient to generate a series of
<application>MGED</application> commands
+ outside <application>MGED</application> and then submit the command
list to
+ <application>MGED</application> which will
+ react as if each command were being manually entered within it.
+ Simply create a file (say, "cmds.txt") with each line being a desired
command, and then
+ have <application>MGED</application> execute the list. At the normal
shell prompt execute</para>
+
+ <programlisting>
+$ mged -c tgm.g < cmds.txt
+ </programlisting>
+
+ <para>Note that the procedure described above is very useful in rapid
prototyping or
+ automated TGM processing without resorting to low-level library
programming in C or C++.</para>
+ </refsection>
+
<refsection xml:id="hints"><title>HINTS</title>
<para>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits