Jump to content

How to get dimension Start point & End point of arrow head


Pugazh

Recommended Posts

hello dears,

  I want to make line in multiple dimension using start point & end point of dimension.

 

(defun c:makeline ( )
  (setq ss (ssget "_:L" '((0 . "DIMENSION"))))
  (repeat (setq i (sslength ss))
    (setq ent (ssname ss (setq i (1- i))))
     (command "_.line" "_non" (cdr (assoc 10 (entget ent))) "_non" (cdr (assoc 11 (entget ent))) "")
   )
 (princ)
 )

 

Edited by Pugazh
Link to comment
Share on other sites

You can absorb the dimension line by using the NCOPY command.

Type NCOPY and pick on the relevant dimension object and press enter key 3 times.

Now you have a line object joining arrowhead insertion points.

 

But it depend on your dimension style settings.

Edited by Dayananda
Link to comment
Share on other sites

Just now, Dayananda said:

You can absorb the dimension line by using the NCOPY command.

Type NCOPY and pick on the relevant dimension object and press enter key 3 times.

Now you have a line object joining arrowhead insertion points.

 

  please give another idea because i have to-much dimensions :(  

Link to comment
Share on other sites

Pick on your dimension and use SELECTSYMILAR  comand. Copy all dimensions with base point 0,0.

Go to new drawing and paste to 0,0 point.

Modify dimstyle in new drawing

Set your dimstyle  arrow size zero. and suppress Extension line 1 and 2

Then select all dimes and explode.

And again using selectsymilar  command select all lines  and copy with base point 0,0

and paste to previous drawing 0,0 point. that is all.

Edited by Dayananda
Link to comment
Share on other sites

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...