MGED CMD share

From BRL-CAD
Revision as of 09:01, 18 November 2009 by Ssd (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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