Jump to content

Hide origin point using cad ordinate dimensioning


Recommended Posts

Posted

Hi,

 

 

How do you hide the origin point using autocad ordinate dimensioning. When I zoom extents there is a point at the origin and is some way from the actual drawing any ideas?

 

Thanks

 

Paul

Posted

Can youy please expand your answers as I have very limited eperience using the ucs. Im using autocad 2011 student copy

Posted

it has a point coloured the same as the dimension. i cant see any ucs icon.

Posted

It sounds like you are talking about a "node". Normally this would be hidden by the geometry you are dimensioning. Even if you could see it on your screen it should not show up when you plot.

 

The UCS icon looks like a right triangle with the letters X and Y. That can be turned on/off using the UCSicon command.

Posted

temp.dwg

 

I have attached a sample of the drawing. when i zoom extents the origin can be seen.

Posted

He means that since ordinate dimensions place a node at 0,0 on the defpoints layer, Zoom>ALL and Zoom>Extents always include the origin even though there's nothing to be displayed there.

Posted

Just returned to this thread. nestly beat me to it. Nice catch nestly.

Posted

Is it possible to remove or turn off the origin then?

Posted (edited)

Unfortunately, I don' t think there is any way to prevent the ordinate dimension origin from being included in the extents calculation unless you freeze the dimension layer. A similar situation occurs for arcs with very large radii since the centerpoint is included in the extents calculation.

Edited by nestly
*correction* Turning the layer "Off" doesn't do it, but Freezing does
Posted
Is it possible to remove or turn off the origin then?

 

Only if you explode the Ordinate dimensions.

 

But you should not explode dimensions :shock:

Posted

Hello GIB39,

 

I think I ubderstand your question.

 

As Nestly says: it is always used when zooming to extends alltough there is nothing special there.

Just the node to refer to when dimensioning.

 

Do you know that the UCS can be moved? It look like you are dimensioning from 750.000 units away...

That seems far. But I do not know if you know this option? Just type UCS and enter: now select you new origin.

 

To turn on / of the UCS icon, just type "UCSICON" at you command bar and select "on" or "off".

But I believe this is not what you are after.

 

Let me know.

Kind regards,

MarcoW

Posted

If you want to show coordinates, why not use Fields? You get the X, Y & Z coordinates in one go, and the 0,0 point is not used.

Posted

thanks for all your replies, im sure we will find something useful to use. To be honest its for my brother who is a surveyor as i peronally dont use the ordinate dimensioning for my line of work and have never come across this problem before.

  • 3 months later...
Posted

Id like to add to this thread, and hope someone can help me finish my code. I can not get my dimension to update enough to ignore the point. The below code will turn the point off so it is not visible, but it still affects the zoom and plot commands. But I have noticed that if you run the command, then erase the dim and undo the erase. You can now zoom and plot without the dimension becoming an issue.

 

(defun c:OrdinNoPoint (/ ssOrdDim intincrement objBlockReference)
 (setq ssOrdDim (ssget "X" '((0 . "DIMENSION"))))
 (if ssOrdDim
  (repeat (setq intIncrement(sslength ssOrdDim))
		(if	(= 6 (logand (cdr (assoc 70 (entget (ssname ssOrdDim (setq intIncrement (1- intIncrement)))))) 6));Choose only ordinate dimensions
		  (progn
				(setq objBlockReference (vla-item (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object)))
							 (cdr (assoc 2 (entget (ssname ssOrdDim intIncrement))))))
				(vlax-for objItem objBlockReference
				  (if (= "AcDbPoint" (vla-get-objectname objItem))
						(progn
						  (vla-put-visible objItem :vlax-false)
						  (vla-update objItem)
						  (vla-regen (vla-get-activedocument (vlax-get-acad-object)) acactiveviewport)
						)
				  )
				)
		  )
		)
  )
)
 (princ)
)

 

anythoughts?

 

Thanks you for your time,

matt worland

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...