POaid Posted June 27, 2007 Share Posted June 27, 2007 How do I (if possible) Make a line with text in it and it is repeating. I use AutoCad 2006 and work with water/gas/steam lines and if i could do this it would make it so much easier for our workers EX: ____________6" water ______________6" water _____________ Thanks Quote Link to comment Share on other sites More sharing options...
tzframpton Posted June 27, 2007 Share Posted June 27, 2007 hit the F1 key to bring up Help. go to Customization Guide > Custom Linetypes > Text in Custom Linetypes. It gives a full description on how to accomplish this. Also, you can search "LINETYPE" in this forum and it'll bring up loads of 'how to' threads from previous posts. This question is not new. Hope this helps ya out.... Quote Link to comment Share on other sites More sharing options...
POaid Posted June 27, 2007 Author Share Posted June 27, 2007 How do I (if possible) Make a line with text in it and it is repeating.I use AutoCad 2006 and work with water/gas/steam lines and if i could do this it would make it so much easier for our workers EX: ____________6" water ______________6" water _____________ Thanks I know there is Gas and HW lines in the linetype section in the layer properties manager but i was wondering if you can write in your own text Quote Link to comment Share on other sites More sharing options...
POaid Posted June 27, 2007 Author Share Posted June 27, 2007 hit the F1 key to bring up Help. go to Customization Guide > Custom Linetypes > Text in Custom Linetypes. It gives a full description on how to accomplish this. Also, you can search "LINETYPE" in this forum and it'll bring up loads of 'how to' threads from previous posts. This question is not new. Hope this helps ya out.... Thanks.................. Quote Link to comment Share on other sites More sharing options...
POaid Posted June 27, 2007 Author Share Posted June 27, 2007 I still can't get it i followed the help menu and did what it said i don't know if i'm doing it wrong or what but it just keeps saying unknown command Any Help? Quote Link to comment Share on other sites More sharing options...
tzframpton Posted June 27, 2007 Share Posted June 27, 2007 copy/paste the code that you have up here, and we'll all help ya out. :wink: Quote Link to comment Share on other sites More sharing options...
POaid Posted June 27, 2007 Author Share Posted June 27, 2007 ["6"WATER",STANDARD,S=.5,R=0.0,X=0.0,Y=0.0] Thats is what i'm trying to do i'm not sure the X and Y offsets need to be but i copied the example one that was in the help and it didn't work either i just have regular autocad 2006 do i need civil? Quote Link to comment Share on other sites More sharing options...
tzframpton Posted June 27, 2007 Share Posted June 27, 2007 Copy/Paste this at the End of your ACAD.LIN file in your Support directory. Then load it as needed. Just make sure your Text Style labeled "STANDARD" is always set to 0 for the Text Height and you'll be fine. *6INCH_LINE,6 Inch Line ----6----6----6----6----6----6-- A,.25,-.25,["6'' LINE",STANDARD,S=.05,R=0.0,X=-0.15,Y=-0.025],-.25 Quote Link to comment Share on other sites More sharing options...
POaid Posted June 27, 2007 Author Share Posted June 27, 2007 I don't have the acad.lin file in my support file what do i do? Quote Link to comment Share on other sites More sharing options...
tzframpton Posted June 27, 2007 Share Posted June 27, 2007 I don't have the acad.lin file in my support file what do i do? ?? are you sure? do you know where you're Support directory is? I have AutoCAD 2007 and here's mine: C:\Documents and Settings\computer_name\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support yours should say ..\Autodesk\AutoCAD 2006\R16.1\enu\Support I believe Quote Link to comment Share on other sites More sharing options...
POaid Posted June 27, 2007 Author Share Posted June 27, 2007 ?? are you sure? do you know where you're Support directory is? I have AutoCAD 2007 and here's mine: C:\Documents and Settings\computer_name\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support yours should say ..\Autodesk\AutoCAD 2006\R16.1\enu\Support I believe C:\Program Files\AutoCAD 2006\Support this is what i'm going to and its not there but when i go to my layers property manager and load a linetype and search files the acad.lin is there but i don't know what to do Quote Link to comment Share on other sites More sharing options...
tzframpton Posted June 27, 2007 Share Posted June 27, 2007 re-read my last post. you're going to the wrong support directory. you'll need to turn on "Show Hidden Files & Folder" in the Folder Options dialog box. the "Application Data" folder is a system folder and is defaulted to Hidden. ***EDIT**** Scratch that... do this.... type STYLESMANAGER at the command line, and then go up one directory. Then you will see the Support directory you're needing. Quote Link to comment Share on other sites More sharing options...
POaid Posted June 27, 2007 Author Share Posted June 27, 2007 Thanks For The Help! We Figured It Out. It Took A While Of Trial And Error But I Think We've Got It Thanks Again. Quote Link to comment Share on other sites More sharing options...
Guest Alan Cullen Posted June 27, 2007 Share Posted June 27, 2007 Good one, Styk.... I just got to work.....but it looks like you got it sorted.....so I don't need to come in and help.... Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted June 28, 2007 Share Posted June 28, 2007 ?? are you sure? do you know where you're Support directory is? I have AutoCAD 2007 and here's mine: C:\Documents and Settings\computer_name\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support Actually, it's not the computer name, but the account name (currently logged on user). Another way to find it, paste this at the command line: (strcat (getvar "RoamableRootPrefix") "support") Quote Link to comment Share on other sites More sharing options...
Guest Alan Cullen Posted June 28, 2007 Share Posted June 28, 2007 Well....if we're on this....another way again is to type at the command line..... (findfile "acad.lin") Quote Link to comment Share on other sites More sharing options...
tzframpton Posted June 28, 2007 Share Posted June 28, 2007 Actually, it's not the computer name, but the account name (currently logged on user). ah yes, that is true.... thanks for catching that. It's what I meant, but just didn't realize what I was typing at the time. Quote Link to comment Share on other sites More sharing options...
POaid Posted June 28, 2007 Author Share Posted June 28, 2007 ...ha ha........ Quote Link to comment Share on other sites More sharing options...
lpseifert Posted June 28, 2007 Share Posted June 28, 2007 Try this; wish I could take credit but I can't. Thanks to D. Marker Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted June 28, 2007 Share Posted June 28, 2007 Well....if we're on this....another way again is to type at the command line..... (findfile "acad.lin") Right, if your just looking for the first "acad.lin" in the support path, that is how to do it. My snippet was to find the "standard" OOTB support path. Remember though, linetypes are simply loaded from LIN files, not referenced from them (they are embedded in the DWG file). So any linetype in any given drawing may have come from anywhere, not necessarily the LIN file returned by (findfile "acad.lin"). In fact, in the context of this post, the OP *could* have put his new linetype definition in any .LIN file (it didn't have to be "acad.lin") and loaded it from there. 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.