OBTAIN/obj,variable list
Causes the numerical data stored with an object to be assigned to numerical variables.
Parameter |
Description |
obj |
The existing object from which the variables in the variable list are set. |
variable list |
The variables which are assigned the parameter values obtained from the object. The number of variables required and/or their position in the list is dependent on the object type. Although the number of variables in the list and the number of parameters obtained do not have to be the same, the sequence of the variables in the list is extremely important. Any unmatched variables or parameters are ignored.
|
The following table consists of the various object types, the parameters which may be obtained and their relative positions.
See Special Notes on Asterisks concerning items highlighted by single and double asterisks (*).
Object Type |
Object Type # |
Parameters and Definitions |
Point |
2 |
OBTAIN/obj,X,Y,Z |
Line |
3 |
OBTAIN/obj,X1,Y1,Z1,X2,Y2,Z2 |
Circle |
5 |
OBTAIN/obj,X,Y,Z,R,A1,A2 |
Ellipse |
6 |
OBTAIN/obj,X,Y,Z,S1,S2,ROT,A1,A2 |
Hyperbola |
6 |
OBTAIN/obj,X,Y,Z,S1,S2,ROT,YMIN, |
Parabola |
6 |
OBTAIN/obj,X,Y,Z,F,ROT |
Spline |
9 |
OBTAIN/obj,0,PTS,TYP,PARM |
Spline |
9 |
OBTAIN/obj,n,X,Y,Z,XC,YC,ZC,PARM |
Drafting Aids |
25 |
OBTAIN/obj,(42 numerical variables) |
|
25 |
13 Leader type [1...3] |
|
25 |
20 Crosshatching material
[1...8] |
Dimension |
26 |
OBTAIN/obj,(51 numerical variables) |
|
26 |
4
Toler. type [1...11] |
|
26 |
13 No. of dual dim. dec. plcs. |
|
26 |
33 Ext. line display [1...4] |
|
26 |
41 Object site [1...9] |
Solid Body |
70 |
OBTAIN/obj,value 1Solid Body |
Section Line |
202 |
OBTAIN/obj,(36 numerical variables) |
Special Notes on Asterisks
** Returns tolerances in inches regardless of the linear unit. To read the SI tolerance, use the EDA &TOLM.
* Since these parameters relate to a single text string and since a drafting object may contain several text strings, the values returned are for the text string with the highest priority. The relative priority of the strings is as follows:
Text Type |
Priority |
Main dimension, note & label text |
HIGHEST |
Dual dimension text |
NEXT |
Main dimension tolerance text |
NEXT |
Dual dimension tolerance text |
NEXT |
Diameter & radius symbol text |
NEXT |
Text with form & positional symbol |
NEXT |
Text appended during creation |
NEXT |
Circle - ID symbol text input during creation ("IDC") |
NEXT |
Divided circle - ID symbol text IDC |
NEXT |
Square - ID symbol text IDC |
NEXT |
Divided square - ID symbol text IDC |
NEXT |
Hexagon - ID symbol text IDC |
NEXT |
Divided hexagon - ID symbol text IDC |
NEXT |
Triangle point up - ID symbol text IDC |
NEXT |
Triangle point down - ID symbol text IDC |
NEXT |
Datum target - ID symbol text IDC |
NEXT |
Rounded box - ID symbol text IDC |
NEXT |
Form & positional tolerance symbol text IDC |
NEXT |
Text with form & positional symbol IDC |
NEXT |
Second text appended during creation |
NEXT |
Circle - ID symbol 2nd text input during creation ("IDC2") |
NEXT |
Divided circle - ID symbol text IDC2 |
NEXT |
Square - ID symbol text IDC2 |
NEXT |
Divided square - ID symbol text IDC2 |
NEXT |
Hexagon - ID symbol text IDC2 |
NEXT |
Divided hexagon - ID symbol text IDC2 |
NEXT |
Triangle point up - ID symbol text IDC2 |
NEXT |
Triangle point down - ID symbol text IDC2 |
NEXT |
Rounded box - ID symbol text IDC2 |
NEXT |
Datum target - ID symbol text IDC2 |
NEXT |
Form & positional tolerance symbol text IDC2 |
NEXT |
Text with form & positional symbol IDC2 |
NEXT |
Text appended during editing ("ADE") |
NEXT |
Circle - ID symbol text ADE |
NEXT |
Divided circle - ID symbol text ADE |
NEXT |
Square - ID symbol text ADE |
NEXT |
Divided square - ID symbol text ADE |
NEXT |
Hexagon - ID symbol text ADE |
NEXT |
Divided hexagon - ID symbol text ADE |
NEXT |
Triangle point up - ID symbol text ADE |
NEXT |
Triangle point down - ID symbol text ADE |
NEXT |
Datum target - ID symbol text ADE |
NEXT |
Rounded box - ID symbol text ADE |
NEXT |
Form & positional tolerance symbol text ADE |
NEXT |
Text with form & positional tolerance symbol ADE |
LOWEST |