1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3//EN">
2<HTML><HEAD>
3		<TITLE>User's Reference - Attribute</TITLE>
4		<META HTTP-EQUIV="keywords" CONTENT="GRAPHICS VISUALIZATION VISUAL PROGRAM DATA
5MINING">
6	<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
7</HEAD><BODY BGCOLOR="#FFFFFF" link="#00004b" vlink="#4b004b">
8		<TABLE width=510 border=0 cellpadding=0 cellspacing=0>
9			<TR>
10				<TD><IMG src="../images/spacer.gif" width=80 height=1></TD>
11				<TD><IMG src="../images/spacer.gif" width=49 height=1></TD>
12				<TD><IMG src="../images/spacer.gif" width=24 height=1></TD>
13				<TD><IMG src="../images/spacer.gif" width=100 height=1></TD>
14				<TD><IMG src="../images/spacer.gif" width=3 height=1></TD>
15				<TD><IMG src="../images/spacer.gif" width=127 height=1></TD>
16				<TD><IMG src="../images/spacer.gif" width=6 height=1></TD>
17				<TD><IMG src="../images/spacer.gif" width=50 height=1></TD>
18				<TD><IMG src="../images/spacer.gif" width=71 height=1></TD>
19			</TR>
20			<TR>
21				<TD colspan=9><IMG src="../images/flcgh_01.gif" width=510 height=24 alt="OpenDX - Documentation"></TD>
22			</TR>
23			<TR>
24				<TD colspan=2><A href="../allguide.htm"><IMG src="../images/flcgh_02.gif" width=129 height=25 border="0" alt="Full Contents"></A></TD>
25				<TD colspan=3><A href="../qikguide.htm"><IMG src="../images/flcgh_03.gif" width=127 height=25 border="0" alt="QuickStart Guide"></A></TD>
26				<TD><A href="../usrguide.htm"><IMG src="../images/flcgh_04.gif" width=127 height=25 border="0" alt="User's Guide"></A></TD>
27				<TD colspan=3><B><A href="../refguide.htm"><IMG src="../images/flcgh_05d.gif" width=127 height=25 border="0" alt="User's Reference"></A></B></TD>
28			</TR>
29			<TR>
30				<TD><A href="refgu012.htm"><IMG src="../images/flcgh_06.gif" width=80 height=17 border="0" alt="Previous Page"></A></TD>
31				<TD colspan=2><A href="refgu014.htm"><IMG src="../images/flcgh_07.gif" width=73 height=17 border="0" alt="Next Page"></A></TD>
32				<TD><A href="../refguide.htm"><IMG src="../images/flcgh_08.gif" width=100 height=17 border="0" alt="Table of Contents"></A></TD>
33				<TD colspan=3><A href="refgu009.htm"><IMG src="../images/flcgh_09.gif" width=136 height=17 border="0" alt="Partial Table of Contents"></A></TD>
34				<TD><A href="refgu175.htm"><IMG src="../images/flcgh_10.gif" width=50 height=17 border="0" alt="Index"></A></TD>
35				<TD><A href="../srchindx.htm"><IMG src="../images/flcgh_11.gif" width=71 height=17 border="0" alt="Search"></A></TD>
36			</TR>
37		</TABLE>
38		<H3><A name="HDRATTRIB" ></A>Attribute</H3>
39		<A NAME="IDX364"></A><A NAME="IDX365"></A>
40<P><STRONG>Category</STRONG>
41<P>
42<A HREF="refgu008.htm#HDRCATSTR">Structuring</A>
43<P><STRONG>Function</STRONG>
44<P>
45Extracts an attribute from an Object.
46<A NAME="IDX366"></A>
47<P><STRONG>Syntax</STRONG>
48<PRE>
49<STRONG>object</STRONG> = Attribute(<STRONG>input</STRONG>, <STRONG>attribute</STRONG>);
50</PRE>
51<P><STRONG>Inputs</STRONG>
52<BR>
53<TABLE BORDER>
54<TR>
55<TH ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">Name
56</TH><TH ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">Type
57</TH><TH ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">Default
58</TH><TH ALIGN="LEFT" VALIGN="TOP" WIDTH="40%">Description
59</TH></TR><TR>
60<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%"><TT><STRONG>input</STRONG></TT>
61</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">object
62</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">none
63</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="40%">object from which the attribute
64is obtained
65</TD></TR><TR>
66<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%"><TT><STRONG>attribute</STRONG></TT>
67</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">string
68</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">&quot;name&quot;
69</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="40%">attribute name
70</TD></TR></TABLE>
71<P><STRONG>Outputs</STRONG>
72<BR>
73<TABLE BORDER>
74<TR>
75<TH ALIGN="LEFT" VALIGN="TOP" WIDTH="25%">Name
76</TH><TH ALIGN="LEFT" VALIGN="TOP" WIDTH="25%">Type
77</TH><TH ALIGN="LEFT" VALIGN="TOP" WIDTH="50%">Description
78</TH></TR><TR>
79<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="25%"><TT><STRONG>object</STRONG></TT>
80</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="25%">object
81</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="50%">attribute value
82</TD></TR></TABLE>
83<P><STRONG>Functional Details</STRONG>
84<P>
85<TABLE CELLPADDING="3">
86<TR VALIGN="TOP"><TD><P><B><TT><STRONG>input</STRONG></TT>
87</B></TD><TD><P>is an Object with an attribute to be extracted.
88</TD></TR><TR VALIGN="TOP"><TD><P><B><TT><STRONG>attribute</STRONG></TT>
89</B></TD><TD><P>is the name of the attribute to be extracted.
90</TD></TR></TABLE>
91
92There are various attributes which have definite meanings in Data Explorer (see
93<A HREF="refgu098.htm#HDROPTIONS">Options</A>). You can also add your own
94attributes to
95objects. In addition, some modules
96(<A HREF="refgu125.htm#HDRRUBBERS">RubberSheet</A>,
97<A HREF="refgu081.htm#HDRISOSURF">Isosurface</A>,
98<A HREF="refgu019.htm#HDRAUTGRID">AutoGrid</A>,
99<A HREF="refgu163.htm#HDRTUBE">Tube</A>,
100<A HREF="refgu122.htm#HDRRIBBON">Ribbon</A>)
101add attributes specifying the value of a particular value computed and used in
102creating a realization.
103
104<P><STRONG>Example Visual Program</STRONG>
105<PRE>
106UsingAttributes.net
107</PRE>
108<P><STRONG>See Also</STRONG>
109<P>
110&nbsp;<A HREF="refgu098.htm#HDROPTIONS">Options</A>,
111
112&nbsp;<A HREF="refgu125.htm#HDRRUBBERS">RubberSheet</A>,
113&nbsp;<A HREF="refgu081.htm#HDRISOSURF">Isosurface</A>,
114&nbsp;<A HREF="refgu019.htm#HDRAUTGRID">AutoGrid</A>,
115&nbsp;<A HREF="refgu163.htm#HDRTUBE">Tube</A>,
116&nbsp;<A HREF="refgu122.htm#HDRRIBBON">Ribbon</A>
117		<P>
118		<HR>
119		<DIV align="center">
120			<P><A href="../allguide.htm"><IMG src="../images/foot-fc.gif" width="94" height="18" border="0" alt="Full Contents"></A> <A href="../qikguide.htm"><IMG src="../images/foot-qs.gif" width="94" height="18" border="0" alt="QuickStart Guide"></A> <A href="../usrguide.htm"><IMG src="../images/foot-ug.gif" width="94" height="18" border="0" alt="User's Guide"></A> <A href="../refguide.htm"><IMG src="../images/foot-ur.gif" width="94" height="18" border="0" alt="User's Reference"></A></P>
121		</DIV>
122		<DIV align="center">
123			<P><FONT size="-1">[ <A href="http://www.research.ibm.com/dx">OpenDX Home at IBM</A>&nbsp;|&nbsp;<A href="http://www.opendx.org/">OpenDX.org</A>&nbsp;] </FONT></P>
124			<P></P>
125		</DIV>
126		<P></P>
127	</BODY></HTML>
128