CREATING CUSTOM LINETYPE

CREATING CUSTOM LINETYPE

Anonymous
Not applicable
5,360 Views
7 Replies
Message 1 of 8

CREATING CUSTOM LINETYPE

Anonymous
Not applicable

I was hoping someone could help? I was tasked with creating a linetype for a silt fence. I first drew a few items that I later turned into objects and made several attempts to try to find a way to create a linetype with text inside a circle and the the circle to be not transparent. I did create the linetype, however, the circle was transparent and I needed what was below to be not visible. I was able to achieve this using the objects I created and the using the multiline tool and setting the offset to zero but it did not work as well as I thought it would. Also, the object hatch I created in the attached dwg file I used color 255 and set in the ctb file to use object color to have a white background when plotted.

 

What I need to know is if its possible to do this with a single line linetype?

 

Using AutoCAD 2015 on windows 8

 

I very well may be in the wrong forum, please forgive, its my first time posting something.

0 Likes
Accepted solutions (1)
5,361 Views
7 Replies
Replies (7)
Message 2 of 8

ITandCADguy
Advocate
Advocate
Accepted solution

I think what you are asking for is not possible with a linetype.

 

For erosion control symbols, I've created blocks similar to yours, but added a WIPEOUT in the block definition, just slightly larger than the diameter of the circle.  This WIPEOUT is then moved to the back (within the block). 

 

Now, that doesn't really help with a linetype, though.  Or does it.  How about creating a path array using the block (with wipeout).

 

The drawing I've included is intended to give you ideas, and probably isn't quite ready for prime time use just yet.  Look at the silt fence on the south side of the site.

Message 3 of 8

TheCADnoob
Mentor
Mentor

I'm not 100% certain of what you are trying to achieve. 

 

for complex line types i might consider a path array as @ITandCADguy mentioned. 

 

Past that the process is to create a shape and then put that shape into a line type. Below is a screencast showing proof of principle for simple line type.

 

CADnoob

EESignature

Message 4 of 8

Kent1Cooper
Consultant
Consultant

Welcome to these Forums!

 

I don't think you can do what you're after in a single linetype.  A linetype definition can't have elements in different colors.  I would suggest a Block [in which things can be of different colors] with the Circle and Text [no reason for it to be an Attribute Definition] and masking Hatch pattern [which may as well be Solid, not parallel lines], and separately, a linetype with the X's in it [whether as Shapes or as Text elements].  Then draw the silt fence "path" in that linetype, and ARRAYPATH the Block along that path.  If you do it as an associative Arraypath, it will adjust itself if you alter the shape of the path.  And you can set it to not Align the Blocks with the path, so that all the SF's will always be upright.

 

EDIT:  Wipeout sounds better, although it would need to be polygonal, whereas a Solid Hatch pattern can be truly circular.  And the Customization Forum is really the better place for something like this -- it's not version-dependent [the linetype part, that is -- for older versions that don't have ARRAYPATH, similar though non-associative results can be gotten with MEASURE/DIVIDE].

Kent Cooper, AIA
Message 5 of 8

TheCADnoob
Mentor
Mentor

This is another one. as you can see the 'hatched' part is still transparent though. 

 

CADnoob line type help.png

CADnoob

EESignature

Message 6 of 8

TheCADnoob
Mentor
Mentor

just htouhgt about mline

 

you might be able to pull off something very close to what you want using mline

 

https://forums.autodesk.com/t5/autocad-2013-2014-2015-2016-2017/text-color-in-linetype/m-p/6380978/h...

 

Just layer a couple of the custom line parts

CADnoob

EESignature

Message 7 of 8

Sofia.Xanthopoulou
Mentor
Mentor

Hi @Anonymous,

 

this party is taking place without you Smiley Wink

 

Would you want to participate by giving us a feedback? Much appreciated!

 

I am sure many readers are interested in this solution, too.

 

If you need further assistance on this, please continue the conversation

Please create a new thread for other questions

 

Thank you

 

0 Likes
Message 8 of 8

Anonymous
Not applicable

Thank you everyone for your feedback, I apologize for the late response.  I have read what everyone has said, dyoung, the wipeout you created in the block, I thought I had attempted that before and it didn't work.  So I appreciate you posting the that drawing that will help me out in the future. 

 

TheCadnoob, thanks for taking the time to make the video, I had created a similar line on the attached REV1 dwg, but I was not aware that you could explode the text like that, that will help me in the long run, definitely. I also did mention that the scale for what I was working on was 1:100, at that scale you cant see through the hatch, it simply plots out to be white on paper. I had trouble making the solid hatch and creating it to be polygonal to make into a shape file. Also, if see the attached REV1 dwg, you can see my attempt at a multiline.

 

Kent1Cooper, I agree with what you say, I had told everyone the most governing factor is that you can only assign one color to a single line, but I needed some confirmation from the community, I can use the rest of your feedback as well, very much appreciated. I will also check into Customization Forum as well.

 

Thanks everyone, I'm pretty much teaching myself at this point so your input is appreciated.

 

The project that we had the debate about the silt fence is still ongoing, but in the attachment you can see the block we had used along an ARRAYPATH. When plotted the text is brought to the front, and the hatch plots white. It was the only solution I came up with.  I will definitely be using all ideas you gave on future projects.

0 Likes