Jump to content

error checking - orthogonal & length


Hsanon

Recommended Posts

Hi,

we work primarily in metric millimeters upto four decimal places, and our line/pline lengths are orthogonal, and mostly in multiples of 5 millimeters.

is it possible to have an error checking routine to select a bunch of lines & plines in a window and identify all lines which are not in sync ???

While drafting, there may be errors where we draw strange lengths in fractions of millimeters and degrees which are not orthogonal by very very small fractional amounts.

Similar in the case of polylines where some vertices could be off by a few millimeters or degrees.

Is it possible to identify them in some way so we can edit them/ redraw them to make an accurate drawing ??

 

my knowledge is very basic in autolisp and zero in visual lisp is zero.

thanks guys.

Link to comment
Share on other sites

Here is an exampe of rounding the defining coordinates of various geometric objects to a given multiple - if you wanted to identify the objects rather than automatically modifying the points, you could change the code to report the objects whose points will be changed as opposed to applying the changes.
Link to comment
Share on other sites

Lee, this is brilliant.... once again you have shown your ingenuity...

have tested the program, now lemmie get it to work on a live project.:notworthy:

Thanks a lot.

Link to comment
Share on other sites

Hsanson you have me intrigued 4 decimal places on lengths ? The heat of the day would make the object grow or shrink at that level. A carpenters pencil line is about 1mm thick.

Link to comment
Share on other sites

BigAl Our submissions for online statutory approval is pretty convoluted (and the system is pretty useless if you ask me).... We need to extract data out of the drawing areas in sqm with 4 decimal places....

it helps that the basic lines drawn are correct with four zeros after the decimal place....

 

Lee, the program works fine, we could start using them in newer drawings..... but for existing older drawings unfortunately we dont know which lines are extended to round things off.... would it be possible just to identify in any way (circles or whatever) just those points / lines which are off the the ortho or lengths ending in any figure apart from 5 & 0 ??? That would really help in the setting older drawings right....

 

Regards

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