Jump to content

Asbuilt


Muhammad Khalid

Recommended Posts

I was wondering if there was any autocad add on the draw a vector ie a direction(arrow) and value(number)between two points

Thanks

Can i have some please if there is I shall need it for my slab asbuilt

thanks again

Link to comment
Share on other sites

Is this the same vector routine you inquired about in another thread or a different one?

 

What purpose would this serve? To indicate the slope of the slab? Further details required.

Link to comment
Share on other sites

See I am suppoed to prepare an asbuilt report for a reinforced concrete frame including column, slab beam lift shaft etc but to do it be hand for five floor would take me at least 2weeks so i intend to use autocad to present my survey data and i shall need an addon like that to show the deviations from the design to the constructed

Link to comment
Share on other sites

In short I will like to be able to pick two points and have shown the direction and the amount the second point has moved from the first point I hope the explanation is clearer

Link to comment
Share on other sites

I have attatched a pdf file to show how i do it by hand i want use autocad to give the arrow for the direction an the number by clicking the design point first and then theconstructed point second:glare:o:):roll:

asbuilt.pdf

Link to comment
Share on other sites

Perhaps you should look at this thread. Read all the way through as Asmi's lisp does get amended.

 

Deviation, in this case, is the same as as-built, so should suit you down to the ground :D

Link to comment
Share on other sites

tried it didnt work for me the directions appear but 1 have hashes#### in place of the numbers dont know why but will keep searching for other alternative thanks for your help

Link to comment
Share on other sites

does any one have vector Dev v2008 for autocad that might work but the versions i see are all but 2008 and i am using autocad 2008

Link to comment
Share on other sites

Muhammad,

this is a simple code using the command "leader", the design column must be a closed polyline, in order to pick only two points.

Minimally tested...

 

(defun c:test (/ osm_old a b c d)
 (setq osm_old (getvar "OSMODE"))
 (setvar "OSMODE" 32)
 (setq a (getpoint "\n Select the Asbuilt point:")
b (getpoint "\n Select the Design point:")
 )
 (setvar "OSMODE" 0)
 (setq c (ssname (ssget (osnap b "_nea") '((0 . "LWPOLYLINE"))) 0)
d (vlax-curve-getClosestPointTo c a T)
 )
 (command "_.DIMALIGNED"
   d
   a
   (polar d (angle d b) (* (distance d b) 2.))
   "leader"
   (polar d (angle d a) (* (distance d a) 2.5))
   d
   ""
   ""
   "_n"
 )
 (setvar "OSMODE" osm_old)
 (princ)
)

 

hope that helps

 

Henrique

Link to comment
Share on other sites

It is probably just as quick to manually do it.

 

 

??????????

 

the OP asked:

 

-picking two points,

-draw a vector with the displacement direction.

-draw a dimension with the displacement.

 

With the code I posted, very simple and very basic, does what the OP asked, picking only two points.

 

1-Command: test

2-Select the Asbuilt point:

3-Select the Design point:

 

Using only the AC and the commands "dimaligned" and "leader" would require:

 

1-Command: _dimaligned

2-Specify first extension line origin or

3-Specify second extension line origin:

4-Specify dimension line location or [Mtext/Text/Angle]:

5-Command: _leader

6-Specify leader start point:

7-Specify next point:

8-Specify next point or [Annotation/Format/Undo] :

9-Enter first line of annotation text or :

10-Enter an annotation option [Tolerance/Copy/Block/None/Mtext] : none

 

Or if you have a vector block:

 

1-Command: _dimaligned

2-Specify first extension line origin or

3-Specify second extension line origin:

4-Specify dimension line location or [Mtext/Text/Angle]:

5-Command:_INSERT

6-Enter block name or [?] :

7-Specify insertion point or [basepoint/Scale/Rotate]: _from Base point:

8-: per to

9-Specify scale factor :

10-Specify rotation angle :90

 

Notice that I was just trying to do what the OP was asking,

Sure, there are faster ways to achieve the same result, maybe someone with more knowledge than me can show the right way.

 

In my point of view,

it is probably 3,3 times quicker than manually do it,

if you have a faster way to do manually, please share it.

 

Cheers

Henrique

Link to comment
Share on other sites

Mark sorry to have taken long to reply Vector dev is a visual lisp program that prints out the x and y vectors between two points in model space that is to say vector deviation will prompt you to select one point and the other an shall draw two arrows showing the relative distance and direction from the first to the second point in the your current UCS:?:?:? something like that its good for finding deviations between say 30 pair of points but tedious for several points

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