Overview | Statement List | Example
obj = DIMBP/{obj list|comp list|obj list,comp list}
This statement (dimension by parts) provides the capability of combining as many as 100 previously defined objects with up to 100 special drafting components into a single drafting or dimensioning object.
You can use this capability to build your own specialized dimensions. Dimension by parts can be used to make almost anything that is a combination of the supported objects listed below.
If the DIMBP object is created with one or more drafting objects, its object type, subtype, and Associativity are the same as the first drafting object in the object list. The remaining geometry in the DIMBP object (which was created based on the property of the objects in the object/component lists) is not associated with the DIMBP object. If the DIMBP object is not created with any drafting object, then it is a non-associative drafting object.
You can interactively edit a drafting object created by DIMBP in Unigraphics. You cannot edit a non-associative DIMBP object if regeneration of the object is required in the edit function, e.g. editing the
You may use previously defined objects to create the dimension or embed the component definition in the DIMBP statement. If you use a list of previously defined objects, they must come before any component definitions in the DIMBP statement.
There are four minor words unique to the DIMBP statement. They are unique to this statement because they are normally GRIP major words:
LINE
CIRCLE
NOTE
ARROW
These four words are used to define components. They are explained in the parameters below.
Parameter |
Description |
obj list |
A list of up to 100 previously defined objects which may consist of lines, arcs, dimensions, drafting aids and previously defined DIMBP objects. Although the objects in this list are deleted, once the properties have been extracted for the DIMBP object, the variables may be redefined in subsequent statements. |
comp list |
A list of up to 100 special drafting components which consist of lines, arcs, notes and arrowheads. All of the components are defined in the X-Y plane of the work coordinate system. The following is a list of valid components and their format: LINE,x1,y1,x2,y2 - A line from coordinates x1,y1 to coordinates x2,y2. CIRCLE,x,y,r,start,end - A circle with its center at the coordinates x and y and a radius of r. The arc is generated counterclockwise from the angle specified by start to the angle specified by end, with respect to the positive X axis. NOTE,x,y,'text'[,'text']+ - A note with its origin at coordinates x and y. The 'text' parameters may be either text between single quotes or string variables. In either case each text parameter is placed on a new line. You can include as many lines as you desire in the label, with the restriction that no more than 600 characters can be contained in one note. ARROW,x,y,angle - An arrowhead with its tip at coordinates x and y and its body rotated to the specified angle, with respect to the positive X axis. |
NOTE: If the DIMBP object contains text, its origin is at the origin
of the first text object.
If the DIMBP object does not contain any text or drafting objects, its origin is the center of an imaginary box which encompasses all the objects in the object/component lists.
If the DIMBP object does not contain any text, but does contain one or more drafting objects in the object list, its origin is the origin of the first drafting object in the list.
If an object list is used, the associative status of the DIMBP object is the same as the associative status of the first drafting object in the object list.
If a crosshatching object is the first drafting object in the object list, do not include the crosshatching's boundary objects because the objects in the object list get deleted, and the crosshatching will no longer have a defined boundary.