MisterJingles Posted October 6, 2009 Share Posted October 6, 2009 Hi all I need to set up a pretty basic drawing which is going to have certain lines whos length the client needs to be able to obtain as simply as possible. It will not be a straight line but a line made up of 3 lines segments. EG a Z? It would obviously have to be a Polyline right? Would it require LISP? Is there another way? Thanks Rob Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 6, 2009 Share Posted October 6, 2009 You could use just plain lines and one of the LISP routines (Quick Line Length or Line Length) mentioned in the link (cadalyst magazine) below. http://cadtips.cadalyst.com/node/tiplisting?page=1&keywords=LENGTH%20OF%20LINE&destination=node/tiplisting Note that the length of a polyline "Z" would be given as a total of all three legs if you used the LIST command. Quote Link to comment Share on other sites More sharing options...
Tommy78 Posted October 6, 2009 Share Posted October 6, 2009 You can see the lenght of the polyline in its properties, just like that(3 legs together). Alternatively you could create a fancy data extraction table inside the drawing which displays the lenght of these lines and updates them if changed. Quote Link to comment Share on other sites More sharing options...
GE13579 Posted October 6, 2009 Share Posted October 6, 2009 You could use a dynamic block? z.dwg Quote Link to comment Share on other sites More sharing options...
Tommy78 Posted October 6, 2009 Share Posted October 6, 2009 Nice block GE! good to know dimensions are useable in dynblocks. Quote Link to comment Share on other sites More sharing options...
GE13579 Posted October 6, 2009 Share Posted October 6, 2009 Thanks Tommy You can also suppress the dim lines if you prefer to just have the number- I've done that quite a bit in the past too. Quote Link to comment Share on other sites More sharing options...
totzky Posted October 6, 2009 Share Posted October 6, 2009 You could use a dynamic block? or blocks of differrent names (eg. block1_10meters, block2_20meters, etc) which can be easily inserted and refedit if a need arises. Quote Link to comment Share on other sites More sharing options...
MisterJingles Posted October 7, 2009 Author Share Posted October 7, 2009 ReMark - I work with LT and I believe Im not able to use LISP. Tommy - Your idea seems closest to what the client is looking for. You have a link for me to investigate further? He needs to be able to click the line once (if possible) and Autocad needs to give him the length. To fill you in, this line will indicate a copper bar and he needs to be able to order exact lengths according to the length of that line. Quote Link to comment Share on other sites More sharing options...
Tommy78 Posted October 7, 2009 Share Posted October 7, 2009 MisterJ, if your client has a recent version of autocad he can read the lenght in the quickproperties window that pops up after clicking the line. Autocad's help files are very good for learning about the data extraction tool. Quote Link to comment Share on other sites More sharing options...
GE13579 Posted October 7, 2009 Share Posted October 7, 2009 By the sound of it, just dimension the lines? No need for dynamic blocks. As Tommy78 suggests, it sounds like the customer has ACAD so I think his suggestion is spot on. If they have a recent version you won't even need to go into properties depending on the setup. Quote Link to comment Share on other sites More sharing options...
MisterJingles Posted October 7, 2009 Author Share Posted October 7, 2009 Ok thats true. Ill propose that. At worst Ill investigate the data extraction option. Thanks guys Quote Link to comment Share on other sites More sharing options...
kindy52 Posted October 23, 2009 Share Posted October 23, 2009 Thanks Tommy You can also suppress the dim lines if you prefer to just have the number- I've done that quite a bit in the past too. I've used that suppressing the dim lines but those defpoints show up even after I turn off the defpoint layer. Can't figure that out. Any suggestions on that? Quote Link to comment Share on other sites More sharing options...
kindy52 Posted October 23, 2009 Share Posted October 23, 2009 On the Z line dilemma. I would use a polyline and insert a field -> object -> length (attached). You just have to remember to regenall (i reset my pgp command to r). It does automatically update upon plotting, saving, opening and such if the "FIELD" settings are right in the tools-> options -> user preferences -> field settings is set up right. z2.dwg 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.