Difference between revisions of "MGED CMD draw"

From BRL-CAD
(See Also)
 
(2 intermediate revisions by one other user not shown)
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'''
::  
+
:: (To be supplied.)
 
 
: '''-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)==
Line 42: Line 41:
  
 
==See Also==
 
==See Also==
: [[MGED_CMD_e_lower|e]]
+
: [[MGED_CMD_e_lower|e]] -- extend display with object
 +
: [[MGED_CMD_erase|erase]]
 
: [[MGED_CMD_Z|Z]]
 
: [[MGED_CMD_Z|Z]]
 
: [[MGED_CMD_B|B]]
 
: [[MGED_CMD_B|B]]

Latest revision as of 15:52, 7 April 2013

draw[edit]

Syntax[edit]

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


Argument(s)[edit]

-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
(To be supplied.)
-s
Optional. Specifies that subtracted and intersected objects should be drawn with shape lines rather than dot-dash lines.

Return Value(s)[edit]

No Return Values for this command.


Description[edit]

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)[edit]

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[edit]

e -- extend display with object
erase
Z
B

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