Name

get — Used to retrieve parameter values of database objects.

Synopsis

get {object_name_pattern} [param_name]

DESCRIPTION

Low level command for extracting specific parameter information from geometry objects in a database. Similar to "attr get" except that the focus of this command is on geometric parameter values (vertices, for example) instead of attribute metadata.

EXAMPLES

Example 1. Elliptical Torus 'r' parameter extraction

Use the get command to extract the r parameter value from an elliptical torus.



mged> make eto.s eto

mged> l eto.s

eto.s:  Elliptical Torus (ETO)

      V (0, 0, 0)

      N=(0, 0, 1)

      C=(200, 0, 200) mag=282.843

      r=800

      d=100



    



mged> get eto.s r

800

    



SEE ALSO

attr(n).

AUTHOR

BRL-CAD Team

COPYRIGHT

This software is Copyright (c) 2008-2024 United States Government as represented by the U.S. Army Research Laboratory.

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to