Overview | Statement List | Example
obj = ODIM/(origin),{margin objid|{HORIZ|VERT},origin objid},[{ENDOF|CENTER|TANTO},]"PMOD3",obj[,VIEW,'View Name'][,DOGLEG,angle,distance][,Dim. text][,APPEND,App. text][,IFERR,label:]
Creates an ordinate dimension which represents the distance between the ordinate dimension set origin and the specified object.
The ordinate dimension statement is used in conjunction with the OODIM and OOMGN statements. These statements set the dimensioning parameters required to perform ordinate dimensioning. OODIM creates an ordinate dimension set origin. OOMGN creates an ordinate dimension set margin associated with an ordinate dimension set origin.
Place these statements before the ODIM statement in your program. If you do not specify these statements, an error occurs during program execution because the parameters above have not been set. The only exception would be if the parameters were already set interactively.
You can use either the origin objid or the margin objid parameter to find the ordinate margin to which the leader lines get extended. The (origin) parameter is used to find a place along that line to place the dimension itself. When you specify (origin), the system ignores one parameter. For example, if Horiz is specified, Vert is not used, and vice versa.
Parameter |
Description |
(origin) |
Specifies the origin for the dimension label/text. See the Dimension Statements overview. |
margin objid |
Specifies the object identifier of the margin (from OOMGN). |
HORIZ |
Minor word which indicates that the desired dimension is the horizontal distance from the ordinate origin to the object. |
VERT |
Minor word which indicates that the desired dimension is the vertical distance from the ordinate origin to the object. |
origin objid |
Specifies the object identifier of the origin (from OODIM). |
ENDOF |
Minor word which indicates that the extension line is to terminate at one end of the arc if the specified object is an arc. The end to be considered is further determined by a positional modifier (PMOD3). |
CENTER |
Minor word which indicates that the extension line is to terminate at the center of the arc if the specified object is an arc. For this option, the positional modifier (PMOD3) is ignored. |
TANTO |
Minor word which indicates that that the extension line is to terminate at one of the arc tangents if the specified object is an arc. The tangent to be considered is further determined by a positional modifier (PMOD3). |
Determines which end of the object or position on the arc is to be dimensioned. The positional modifier can be omitted if you are dimensioning points or arc centers. For all other entitles it must be present. | |
obj |
Specifies the object identifier of the object to be dimensioned. |
VIEW |
Minor word that indicates that a view name is to follow. |
'View Name' |
This is a string variable or literal that is the view name. |
DOGLEG |
Minor word which indicates that the normal extension line is to be broken into two parallel offset segments. The offset segments are connected by a line which is at a specified angle to the extension lines. If not specified, only one extension line, perpendicular to the desired dimension, is created. |
angle |
The specified angle of the line connecting the offset segments of a dogleg. |
distance |
The length of the extension line from the object being dimensioned to the angled line connecting the two pieces of a dogleg. |
Dim. text |
A string of up to 50 characters you may enter if the system generated value and text are not desirable. You can enter the desired dimension and/or text between single quotes ('dimension text'), or you can use a previously declared string variable. |
APPEND |
Minor word which indicates that the text in the next field should be appended to the dimension text. |
App. txt |
Text string which is appended to the dimension text (APPEND,'string'). One string of up to 132 characters may be appended to a dimension. The placement of appended text is controlled by the GPA &APSITE. |
IFERR,label: |
Specifies a label to which program execution jumps if an error occurs. |