

Line 1: 
Line 1: 
−  [[Category:MGED]]  +  [[Category:MGEDadc]] 
   
 =adc=   =adc= 
Revision as of 09:19, 15 November 2009
adc
Syntax
 adc [i] [subcommand]
Argument(s)
 i
 Supplied value(s) will be treated as increments
 vars
 Returns a list of all ADC variables and their values (i.e., var = val).
 draw
 [01] Set or get the draw parameter.
 a1
 [angle] Set or get angle1 in degrees.
 a2
 [angle] Set or get angle2 in degrees.
 dst
 [distance]Set or get radius (distance) of tick in local units.
 odst
 [distance] Set or get radius (distance) of tick (+2047).
 hv
 [position] Set or get position (grid coordinates and local units).
 xyz
 [position] Set or get position (model coordinates and local units).
 x
 [xpos] Set or get horizontal position (+2047).
 y
 [xpos] Set or get vertical position (+2047).
 dh
 distance Add to horizontal position (grid coordinates and local units).
 dv
 distance Add to vertical position (grid coordinates and local units).
 dx
 distance Add to x position (model coordinates and local units).
 dy
 distance Add to y position (model coordinates and local units).
 dz
 distance Add to z position (model coordinates and local units).
 anchor_pos
 [01] Anchor ADC to current position in model coordinates.
 anchor_a1
 [01] Anchor angle1 to go through anchorpoint_a1.
 anchor_a2
 [01] Anchor angle2 to go through anchorpoint_a2.
 anchor_dst
 [01] Anchor tick distance to go through anchorpoint_dst.
 anchorpoint_a1
 [x y z] Set or get anchor point for angle1 (model coordinates and local units).
 anchorpoint_a2
 [x y z] Set or get anchor point for angle2 (model coordinates and local units).
 anchorpoint_dst
 [x y z] Set or get anchor point for tick distance (model coordinates and local units).
 reset
 Reset all values to their defaults.
 help
 Print the help message.
Return Value(s)
 vars
 Returns a list of all ADC variables and their values (i.e., var = val).
 draw
 [01] Set or get the draw parameter.
 a1
 [angle] Set or get angle1 in degrees.
 a2
 [angle] Set or get angle2 in degrees.
 dst
 [distance]Set or get radius (distance) of tick in local units.
 odst
 [distance] Set or get radius (distance) of tick (+2047).
 hv
 [position] Set or get position (grid coordinates and local units).
 xyz
 [position] Set or get position (model coordinates and local units).
 x
 [xpos] Set or get horizontal position (+2047).
 y
 [xpos] Set or get vertical position (+2047).
 dh
 distance Add to horizontal position (grid coordinates and local units).
 dv
 distance Add to vertical position (grid coordinates and local units).
 dx
 distance Add to x position (model coordinates and local units).
 dy
 distance Add to y position (model coordinates and local units).
 dz
 distance Add to z position (model coordinates and local units).
 anchorpoint_a1
 [x y z] Set or get anchor point for angle1 (model coordinates and local units).
 anchorpoint_a2
 [x y z] Set or get anchor point for angle2 (model coordinates and local units).
 anchorpoint_dst
 [x y z] Set or get anchor point for tick distance (model coordinates and local units).
 reset
 Reset all values to their defaults.
 help
 Print the help message.
Description
This command controls the angle/distance cursor. The adc command with no arguments toggles the display of the angle/distance cursor (ADC). Note that the i option is ignored when getting values or when used with subcommands where this option makes no sense. You can also control the position, angles, and radius of the ADC using a knob or the knob command.
Example(s)
 mged> adc
 Toggle display of the angle/distance cursor
 mged> adc a1 37.5
 Set angle1 to 37.5˚
 mged>
37.5 adc a1
 Gets angle1.
 mged> adc xyz 100 0 0
 Move ADC position to (100, 0, 0), model coordinates and local units.
See Also
 No related commands.
Page Generated by David Loman on: 10/11/2007 at: 9:18:54 AM