Casusa Posted July 4, 2018 Posted July 4, 2018 Hi. I've been trying to create a fence linetype, like this: But something is going wrong that I can not do it. Someone has one made or can do one and post it here? Many thanks. Quote
eldon Posted July 4, 2018 Posted July 4, 2018 Can you post any linetype definition file that you are working on? Have you any dimensions in mind? It should be quite easy with an Arial Text Style, but there is so much variance in dimensions, that a lead from you could make it more useful to you. Here is a picture of one that I did earlier. Quote
Casusa Posted July 4, 2018 Author Posted July 4, 2018 Hi eldon. The dimension would be for a 1/100 scale. I mean like my picture. I do not have any files. Thanks. Quote
eldon Posted July 4, 2018 Posted July 4, 2018 OK, but a picture is not really useful, a drawing would be more useful. Are you using imperial or metric units? A scale does not mean anything, because you should draw full scale. What you are trying to achieve is a complex linetype which uses a text character, because you can use the character 'X' for the shape.You must not use the Standard Text style, because if the font is changed, then the linetype may look different. Each font has its own dimensions. Quote
dlanorh Posted July 4, 2018 Posted July 4, 2018 Please find attached a small *.txt file. You will need to rename the file to XXLiso.lin to use. Within the file are two linetypes FENCELINE2XMM an iso linetype for use in drawings units are millimetres FENCELINE2XM an iso linetype for use in drawings units are metres This part of the linetype controls the text. Change your text style here. ["XX",Standard,S=0.080,R=0.0,X=-0.080,Y=-0.040] "XX" is the text to display Standard is the text style. The text style MUST exist in the drawing into which the linetype is loaded otherwise it will error and refuse to load. The text height for the style must also be set to 0. S= This is the text height R= This is the relative text rotation X= This is the text horizontal offset Y= This is the text vertical offset If you change the text style you may need to play around with the X and Y values to centre the text in the gap. This is the line definition A,600, -80,["XX",Standard,S=60,R=0.0,X=-60,Y=-30], -80, 640 Positive numbers denote draw a line of length Negative numbers denote a gap of length XXLiso.txt Quote
BIGAL Posted July 5, 2018 Posted July 5, 2018 Some more they need the scale played with a bit that is the 1st couple of numbers, we just live with them but should go through all of them but have around 50 linetypes. *DRAINAGE,Drainage pipe ----D----D----D----D----D----D-- A,5,-0.25,["D",STANDARD,S=.5,R=0.0,X=-0.1,Y=-0.25],-0.3 *ELECTRICITY_CONDUIT,Electricity conduit ----E----E----E----E----E----E-- A,5,-0.25,["E",STANDARD,S=.5,R=0.0,X=-0.1,Y=-0.25],-0.3 *FENCE,Fence ----------/----------/----------/---------- A,3,-0.25,["/",STANDARD,S=.5,R=0.0,X=-0.1,Y=-0.25],-0.3 *WATER_UMAIN,Water main ----W----W----W----W----W----W-- A,40,-5.08,["W",STANDARD,S=1.8,R=180.0,X=-1.8,Y=-.9],-3 *DRAIN_ARIAL_LEFT2,Drainage pipe ----D---->----D---->----D---->-- A,5,-0.625,["D",ARIAL,S=1.25,R=0.0,X=-0.5625,Y=-0.5625],-0.625,5,-1.25,[">",ARIAL,S=3.75,R=0.0,X=-3.75,Y=-1.875],-1.25 Quote
Casusa Posted July 5, 2018 Author Posted July 5, 2018 Thank you all for your help. Problem solved. 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.