Create a linetype with multiple Textstyles?

Create a linetype with multiple Textstyles?

JayVavra
Enthusiast Enthusiast
664 Views
8 Replies
Message 1 of 9

Create a linetype with multiple Textstyles?

JayVavra
Enthusiast
Enthusiast

Is it possible to create a linetype with multiple textstyles?

For example:

 

*Test, Test
A,1,["=",Arial,S=2,R=0,X=0,Y=-.0875],["=",Standard,S=2,R=0,X=0,Y=-.0875],["=",Romans,S=2,R=0,X=0,Y=-.0875],1

 

In this example my intent would be to get three equals signs, in three slightly different looking styles.

I've tried multiple bracket enclosures like this, but it seems to only use the last one in the list.

I've tried stringing them all together inside a single bracket, but that's not allowed.

 

Any suggestions? Thanks in advance.

0 Likes
Accepted solutions (1)
665 Views
8 Replies
Replies (8)
Message 2 of 9

Kent1Cooper
Consultant
Consultant

@JayVavra wrote:

....

I've tried multiple bracket enclosures like this, but it seems to only use the last one in the list.

....


Is it really only using the last one, or are they really all there, but on top of each other?  You don't have anything to move along from one to the next -- try putting dash or gap specifications between them to separate them, or try giving them different X-offset values.

Kent Cooper, AIA
0 Likes
Message 3 of 9

JayVavra
Enthusiast
Enthusiast

Definitely just using the last one. If instead of three equal signs I change it to an "=", an "I", and an "X", three things that should be apparent even if on top of each other, I only get the "X", the last one in the list.

0 Likes
Message 4 of 9

Kent1Cooper
Consultant
Consultant
Accepted solution

It must have something to do with the fact that they're all at the same place.  It does use them all, including in the different Styles, if I put any kind of separation entry between them.  I tried a "separation" of zero, but it won't allow that, either positive or negative -- Dots/zeroes can't be coincident.  I can only assume the coincidence of your text elements' locations is why one overrides the others.

Kent Cooper, AIA
0 Likes
Message 5 of 9

pendean
Community Legend
Community Legend
May I ask what is the intent of this need? I'd love to see it in action from you in a screenshot or two if you have the time.
0 Likes
Message 6 of 9

JayVavra
Enthusiast
Enthusiast

Thanks Kent. I can probably live with very small separation in between them. I will do some more playing with it. That may be the solution.

0 Likes
Message 7 of 9

JayVavra
Enthusiast
Enthusiast

Pendean, See the attached png. I'm trying to create that linetype, using a font that's already defined in the template, and not introducing new shape files that will undoubtedly be missing someday in the future, either on my own machine or a coworker's machine.

 

My description using the equals signs was just to try and simplify describing what I'm trying to do.

 

Using the Arial style I can use an equals sign and a \U+25A0 symbol. I will need to scale them differently though so that they will fit together correctly. So my question with different textstyles, in this case will actually be different scales. Hopefully that didn't mislead any of the thought process.

 

If there is a easier way to create this linetype only using text I'd be happy to learn.

0 Likes
Message 8 of 9

pendean
Community Legend
Community Legend
@JayVavra Thanks for the screenshot, it explains a lot about your intent. Problem with the font approach is you need those style predefines in the DWG, right? Regardless of whether they disappear or not. same with your custom linetype definition.

Correct me if I am wrong, you basically want this linetype with a solid square filler spaced every so much, yes?
A,0,-.125,[EQUAL,EQUAL,s=.27],-.125

I've not tested it to mimic your linetype as I do not have all the exact details, but have you also explored MKLTYPE command yet https://www.youtube.com/watch?v=t-Nl31tfECw
and https://www.google.com/search?q=how+to+use+mkltype+express+tool
0 Likes
Message 9 of 9

JayVavra
Enthusiast
Enthusiast

Here's where I've ended up today. I think it's going to be close enough.

Thank you @Kent1Cooper and @pendean for the suggestions.

Adding gaps in between elements, and then massaging the sizes of each was what I was missing when I first posted.

 

*Test, Test
A,.01,-.025,["=",ARIAL,S=2,R=0,X=0,Y=-.0875],.01,-.1577,["\U+25A0",ARIAL,S=1.30,R=0,X=0,Y=-.0165],.01,-.09,["=",ARIAL,S=2,R=0,X=0,Y=-.0875],.01,-.12

0 Likes