myself Posted October 30, 2008 Posted October 30, 2008 hello there, As always i have one more doubt that i would like to see clarified by you as experts in Autocad matters I have a large number of points with the coordinates X and Y, now i need to draw a line passing through those points automatically, is it there any way of doing that without drawing a line between each point? thnak you ver much for your help Quote
neekcotrack Posted October 30, 2008 Posted October 30, 2008 hello there, As always i have one more doubt that i would like to see clarified by you as experts in Autocad matters I have a large number of points with the coordinates X and Y, now i need to draw a line passing through those points automatically, is it there any way of doing that without drawing a line between each point? thnak you ver much for your help If I understand you right, you want to find the mid point of the mid point of two lines. I would use m2p or mtp they are the samething. Quote
lpseifert Posted October 30, 2008 Posted October 30, 2008 If the point coordinates are in a text or excel file (if they are in the .dwg as points they can be extracted) there are ways to do want you want by various means (e.g. script files). But the points must be in the order that you want the lines drawn. Quote
myself Posted October 30, 2008 Author Posted October 30, 2008 thank you guys, but i already know how to do it, but what i needed was to draw a line through some points which i had previously the coordinates, thats pretty easy... you just need the command line and then put there all the coordinates at once and the line its done, pretty easy, it couldnt be easier than that Quote
lpseifert Posted October 30, 2008 Posted October 30, 2008 thank you guys, but i already know how to do it, but what i needed was to draw a line through some points which i had previously the coordinates, thats pretty easy... you just need the command line and then put there all the coordinates at once and the line its done, pretty easy, it couldnt be easier than that If you already knew how, why'd you ask? Quote
skipsophrenic Posted October 30, 2008 Posted October 30, 2008 If you already knew how, why'd you ask? Probably wondering if there was a quicker way maybe? Quote
hotrodz0321 Posted October 30, 2008 Posted October 30, 2008 If you already knew how, why'd you ask? he was just making sure we knew how....keeping us on our toes what a gentleman and a scholar! Quote
myself Posted October 30, 2008 Author Posted October 30, 2008 well, the truth is that after asking here i kept trying to see how i could possibly do that, and guess what, i figured out Quote
Tiger Posted October 31, 2008 Posted October 31, 2008 I think this was a case of us all thinking of harder solutions when the simplest one was what was sought. Glad you figured it out Myself Quote
Boro Nut Posted October 31, 2008 Posted October 31, 2008 Glad you figured it out Myself That was your thoughts exactly. Boro Nut Quote
Amit Kshirsagar Posted November 7, 2008 Posted November 7, 2008 Hi, am searching for VBA code which can retrive XYZ coordinates of 3D objects. ------------------------------------------------------------- For Each entity In acadApp.ActiveDocument.ModelSpace MsgBox "entity.ObjectName = " & entity.ObjectName If entity.ObjectName = "AcDbRegion" Then MsgBox "found" Set my3Dobj = entity 'my3Dobj.(Dont know which method will retrive XYZ 'coordinates of such a object. CAD,VBA Gurus, Please help me. 'Waiting for reply. my3Dobj = Nothing End If Next ------------------------------------------------------------ Quote
Tiger Posted November 7, 2008 Posted November 7, 2008 Hi Amit and welcome - please start a new thread for your question, more likely to get good answers then. Quote
Amit Kshirsagar Posted November 7, 2008 Posted November 7, 2008 Oh no!!!! some silly quetion of mine .How should I start a new thread ? Quote
Dipali Posted November 7, 2008 Posted November 7, 2008 http://www.cadtutor.net/forum/showthread.php?t=23105 Quote
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.