Difference between revisions of "MGED CMD share"

From BRL-CAD
(New page: Category:MGED =share= :: This is a developer command. __TOC__ ==Syntax== :share [-u] resource dm1 [dm2] ==Argument(s)== : '''-u''' :: Optional. Unshare resource. : '''resource''...)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:MGED]]
+
[[Category:MGED|Share]]
 
+
[[Category:MGED developer commands|Share]]
 
=share=
 
=share=
 
:: This is a developer command.
 
:: This is a developer command.

Latest revision as of 09:01, 18 November 2009

share[edit]

This is a developer command.

Syntax[edit]

share [-u] resource dm1 [dm2]


Argument(s)[edit]

-u
Optional. Unshare resource.
resource
Resource to be shared/unshared.
dm1
Display Manager in which resource will be shared.
dm2
Optional. Second Display Manager in which resource will be shared.

Return Value(s)[edit]

No Return Values for this command.


Description[edit]

The "share" command provides a mechanism to share (or unshare with the –u option) resources among display managers. When a resource is shared between two or more display managers, any change to that resource is seen only in the sharing display managers. The supported resource types are:

ad (ADC)
ax (Axes)
c (Color Schemes)
d (Display Lists)
g (Grid)
m (Menu)
r (Rubber Band)
vi (View)
var (MGED Variables)


Example(s)[edit]

mged> share g .dm_ogl0 .dm_ogl1
.dm_ogl0 shares its grid resource with .dm_ogl1.


mged> share -u g .dm_ogl1
.dm_ogl1 acquires a private copy of the grid resource.


See Also[edit]

No related commands.



Page Generated by David Loman on: 10/12/2007 at: 7:22:24 AM