Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

(x,y) 2D dimensioning of a print

Status
Not open for further replies.

bearisle

Mechanical
Jun 2, 2004
77
Is there a way to dimension a reference point using (x,y) format. I know that the ordinate format allows (x) OR (y). I would just like to give the coordinates to reference a point.
 
Replies continue below

Recommended for you

You wouldn't happen to be using AutoCAD Mechanical would you? It has built it charting routines.

"Everybody is ignorant, only on different subjects." — Will Rogers
 
Type "UCS" on the command prompt select new, then click on the point on the object you want to use as the reference. Then you can use the ordiante format on the dimension toolbar.
 
Thanks DSRT, I now know how to set reference point, but....I would like to have one set of parenthesis at each point that shows an (x) and a (y) value from a given reference point - example a point is 4 units to the right and 2 units up from the origin. The label for the point would read (4,2)
 
bearisle
Once you set a reference point using UCS, use the GRID command or set grid setting on in the Drafting Dialog box under the GRID tab. This only works in the XY plane. This will allow to find each point from a given reference point. Hope this helps - John
 
You can go into the ordinate dimension command enter "text" and enter in the x,y values yourself. This is probaly not what you are looking for, but it is the only workaround I can find at the moment.
 
This crude routine called PTT will put the 3D coordinates of a selected point on your drawing.

(DEFUN C:pTT (/ osm p1 x y z s h p2) ; ID a point, place coordinates text
(graphscr)
(setq osm (getvar "osmode"))
(command "osmode" 53)
(setq p1 (getpoint "\nSNAP to point to be ID'd: ")
x (car p1)
y (cadr p1)
z (caddr p1)
s (strcat "(" (rtos x) "," (rtos y) "," (rtos z) ")" )
h (getvar "textsize")
)
(command "osmode" 0)
(setq p2 (getpoint "\nPick point for middle of text: "))
(COMMAND "TEXT" "Ju" "M" p2 h "0" s)
(command "osmode" osm)
)
 
IFRs - I am afraid I am a bit of a rookie.....do you have to be a seasoned veteran to attempt this? I have only changed settings thru the command line and this does not look like the case here..
 
Do you need to know how to load the lisp routine, in IFRs post?
 
DSRT, Is it complicated? Does this effect only the current drawing or ? I am using a station that has multi-users and I only want this feature for certain drawings.
 
Copy the lisp routine in IFRS post. Then paste the lisp routine to notepad, and save it as "PTT.lsp". Then in the current drawing in AutoCad type "appload" on the command prompt and go to the location where the file is stored and load it to the current drawing. Then type PTT on the command line to begin using the function. This should only affect the current drawing.
 
I successfully loaded the lisp, but....I type PTT and it asks me to snap to the point to be ID'd. I select the point and it asks me to pick a point for the middle of the text. I choose a location for the text and it places a "0" and nil appears in the command line regardless of which point I choose.

I might be better off sticking with DSRT's suggested UCS/ordinate option. That actually worked well. x-dimensions print vertically and y-dimensions print horizontally. I tried to rotate the text on the x dimension so that the text would also be horizontal (right click-properties-text-text rotation...I selected 90 degrees and it did not move. If I select .001 degrees, it rotates the text close to the orientation desired??? does this make sense?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor