Muhammad Khalid Posted January 19, 2013 Share Posted January 19, 2013 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 Quote Link to comment Share on other sites More sharing options...
ReMark Posted January 19, 2013 Share Posted January 19, 2013 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. Quote Link to comment Share on other sites More sharing options...
Muhammad Khalid Posted January 19, 2013 Author Share Posted January 19, 2013 Yes indeed the same one . I shall use it to indicate the deviation from the design slab edge to the constructed slab edge. Quote Link to comment Share on other sites More sharing options...
Muhammad Khalid Posted January 19, 2013 Author Share Posted January 19, 2013 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 Quote Link to comment Share on other sites More sharing options...
Muhammad Khalid Posted January 19, 2013 Author Share Posted January 19, 2013 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 Quote Link to comment Share on other sites More sharing options...
Muhammad Khalid Posted January 19, 2013 Author Share Posted January 19, 2013 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: asbuilt.pdf Quote Link to comment Share on other sites More sharing options...
ReMark Posted January 19, 2013 Share Posted January 19, 2013 You really expect to see a large difference between where a column was supposed to be constructed by design and where it ended up? Quote Link to comment Share on other sites More sharing options...
eldon Posted January 19, 2013 Share Posted January 19, 2013 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 Quote Link to comment Share on other sites More sharing options...
Muhammad Khalid Posted January 19, 2013 Author Share Posted January 19, 2013 thanks very much I shall give it a go Quote Link to comment Share on other sites More sharing options...
Muhammad Khalid Posted January 19, 2013 Author Share Posted January 19, 2013 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 Quote Link to comment Share on other sites More sharing options...
Muhammad Khalid Posted January 19, 2013 Author Share Posted January 19, 2013 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 Quote Link to comment Share on other sites More sharing options...
ReMark Posted January 19, 2013 Share Posted January 19, 2013 What is Vector Dev? Quote Link to comment Share on other sites More sharing options...
hmsilva Posted January 19, 2013 Share Posted January 19, 2013 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 Quote Link to comment Share on other sites More sharing options...
Organic Posted January 20, 2013 Share Posted January 20, 2013 It is probably just as quick to manually do it. Quote Link to comment Share on other sites More sharing options...
hmsilva Posted January 20, 2013 Share Posted January 20, 2013 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 Quote Link to comment Share on other sites More sharing options...
Muhammad Khalid Posted January 26, 2013 Author Share Posted January 26, 2013 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.