'\" t
.\"     Title: REGDEF
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "REGDEF" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
regdef \- Sets the default region attributes used by the \fBr\fR and \fBc \fR commands when building a BRL\-CAD region\&.
.SH "SYNOPSIS"
.HP \w'\fBregdef\fR\ 'u
\fBregdef\fR {\fIregionID\fR} [\fIairID\fR\ [\ \fIlos%\fR\ [\ \fImaterialID\fR\ ]\ ]]
.SH "DESCRIPTION"
.PP
Sets the default region attributes used by the
\fBr\fR
and
\fBc \fR
commands when building a BRL\-CAD region\&. The default
\fIident\fR
number is incremented each time a new region is created with the
\fBr\fR
or
\fBc\fR
commands\&.
.SH "EXAMPLES"
.PP
The example shows the use of the
\fBregdef\fR
command to set the default region attributes used by the
\fBr\fR
and
\fBc\fR
commands when building a BRL\-CAD region\&.
.PP
\fBExample\ \&1.\ \&Set region default attributes.\fR
.PP

mged>\fBregdef 1003 0 100 8\fR
.PP
Sets the region default attributes to an ident of 1003, an air code of 0, an los of 100%, and a material code of 8\&.
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
