MGED CMD share


[edit] share

This is a developer command.

Contents


[edit] Syntax

share [-u] resource dm1 [dm2]


[edit] Argument(s)

-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.

[edit] Return Value(s)

No Return Values for this command.


[edit] Description

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)


[edit] Example(s)

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.


[edit] See Also

No related commands.



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