Difference between revisions of "MGED CMD draw"

From BRL-CAD
(Argument(s))
Line 12: Line 12:
 
:: Optional. Specifies that the arguments provided to this command are attribute name/value pairs, and only objects having the specified attributes and values are to be displayed. The default (without -o) is that only objects having all the specified attribute name/value pairs will be displayed.
 
:: Optional. Specifies that the arguments provided to this command are attribute name/value pairs, and only objects having the specified attributes and values are to be displayed. The default (without -o) is that only objects having all the specified attribute name/value pairs will be displayed.
  
: '''-s'''
+
: '''-C#/#/#'''
:: Optional. Specifies that subtracted and intersected objects should be drawn with shape lines rather than dot-dash lines.
+
:: Optional. Specifies a color that overrides all other color specifications including combination colors and region-id-based colors.  Valid color values are 0-255.
  
 
: '''-o'''
 
: '''-o'''
::  
+
::
 
 
: '''-C#/#/#'''
 
:: Optional. Specifies a color that overrides all other color specifications including combination colors and region-id-based colors.  Valid color values are 0-255.
 
  
 +
: '''-s'''
 +
:: Optional. Specifies that subtracted and intersected objects should be drawn with shape lines rather than dot-dash lines.
  
 
==Return Value(s)==
 
==Return Value(s)==

Revision as of 12:21, 6 April 2013

draw

Syntax

draw [-A -s -o -C#/#/#] <objects | attribute name/value pairs>


Argument(s)

-A
Optional. Specifies that the arguments provided to this command are attribute name/value pairs, and only objects having the specified attributes and values are to be displayed. The default (without -o) is that only objects having all the specified attribute name/value pairs will be displayed.
-C#/#/#
Optional. Specifies a color that overrides all other color specifications including combination colors and region-id-based colors. Valid color values are 0-255.
-o
-s
Optional. Specifies that subtracted and intersected objects should be drawn with shape lines rather than dot-dash lines.

Return Value(s)

No Return Values for this command.


Description

Add <objects> to the display list so that they will appear on the MGED display. The e command is a synonym for draw.


Example(s)

mged> draw object1 object2
Draw object1 and object2 in the MGED display
mged> draw -C 255/255/255 object2
Draw object2 in white.
mged> draw -A -o Comment {First comment} Comment {Second comment}
Draw objects that have a "Comment" attribute with a value of either "First comment" or "Second comment."


See Also

e
Z
B

Page Generated by David Loman on: 10/11/2007 at: 12:32:22 PM