Difference between revisions of "MGED CMD share"

(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
Line 1: Line 1:
[[Category:MGED]]
+
[[Category:MGED|Share]]
  
 
=share=
 
=share=

Revision as of 08:35, 18 November 2009


share

This is a developer command.

Syntax

share [-u] resource dm1 [dm2]


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.

Return Value(s)

No Return Values for this command.


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)


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.


See Also

No related commands.



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