Over 1.091.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
Discussion forum
?CAD discussions, advices, exchange of experience

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
|
Post Reply ![]() |
Author | |
z1990m ![]() Newbie ![]() Joined: 03.May.2017 Location: United Kingdom Using: AutoCAD 2014 Status: Offline Points: 12 |
![]() Posted: 27.Jul.2017 at 12:28 |
Hey
This will probably be mega easy for you guys but it's got me scratching my head ![]() I have a linetype that has both a shape file and text incorporated in it, drawing lines from left to right works fine. However the problem is when the line is drawn right to left it seems to position the text over the top of my shape file. This line shows flow direction of a pipe so the PEDIT (Reverse) doesn't work as it will shows the flow running the wrong direction. Below is my .lin and an example of the error in CAD. *UG-SWS-AR,UNDERGROUND STORM DRAIN ASSUMED FROM RECORDS A,30,-28,30,-28,30,-28,30,-1.197827,[FLOW,\\INTHQSVR03\RedirectedFolders\jobs2017\systemfiles2017\utilitymaster.linfiles\FLOW ARROW,y=-11.419447,s=.997684],-37.664418,["(AR)",LINESTYLE,y=-8.891762,s=19.238087,u=0],-51.876634 ![]() If anyone could help that would be muchly appreciated.
|
|
Many Thanks
Zak |
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2098 |
![]() |
This is (geometrically) not possible to achieve - you will need a different linetype to reverse the order of the arrow+text while keeping the text readable.
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
z1990m ![]() Newbie ![]() Joined: 03.May.2017 Location: United Kingdom Using: AutoCAD 2014 Status: Offline Points: 12 |
![]() |
Bugger!!
I was hoping there was a problem with the code in the .lin i.e. easy fix for someone that knows what their doing ![]() Thanks for getting intouch, i'll create a second linetype, should do the job
![]() |
|
Many Thanks
Zak |
|
![]() |
|
Kent Cooper ![]() Senior Member ![]() Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 685 |
![]() |
No, it's not impossible! Give it a larger pen-up (negative-value) gap between the symbol and the text element, to push the nominal "location" of the text farther along by about half the text width, and then include a negative-X component (like the negative-Y one) in the text specification, to "back off" the start of the text so the nominal location is in the middle of it. You'll have to experiment with the exact numerical values to fine-tune it, as the result is affected by the size and font and content of the text. Here's an example of a quickie I threw together using a symbol I already had, that illustrates reverse direction with text nicely positioned in the gap between the symbol and the subsequent line [pen-down] element. The "base" linetype definition is shown in the right side, which is a Line drawn from left to right, with the symbol pointing up. The left side is a Line drawn from right to left, and the text is uprighted but still positioned in the same relationship to the symbol and the line element. EDIT: To be more specific, take half the gap after the text and add it to the gap before the text, and back the text off by the same amount. Rounding off your values for those gaps to 38 and 52, try something like this, the half-value being 26: ....,s=.997684],-64,["(AR)",LINESTYLE,x=-26,y=-8.891762,s=19.238087,u=0],-26 Fine-tune the values for best positioning [though it hardly seems necessary to take it down to millionths of a drawing unit!].
Edited by Kent Cooper - 27.Jul.2017 at 18:42 |
|
![]() |
|
Kent Cooper ![]() Senior Member ![]() Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 685 |
![]() |
[Vladimir, do you have a way of notifying z1990m that they can do what they're after? I wouldn't want to see them go to the extra trouble of defining different linetypes if they've just given up on this and haven't checked back to see my suggestion.]
|
|
![]() |
|
z1990m ![]() Newbie ![]() Joined: 03.May.2017 Location: United Kingdom Using: AutoCAD 2014 Status: Offline Points: 12 |
![]() |
Hi Kent cooper
Sorry I've been mega busy at work so haven't had chance to put what you've suggested into action 😕 I will have a proper look at my line type soon trying what you have suggested and I'll be sure to post my results on here. Thanks ever so much for taking the time to reply. I'll keep you posted on my progress 😊Thanks again and sorry on the slow reply 😕👍 |
|
Many Thanks
Zak |
|
![]() |
|
Kent Cooper ![]() Senior Member ![]() Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 685 |
![]() |
Here's another reason to always do it that way, even with your arrowhead Shapes, if you ever use linetypes with Text or Shapes on curves of any kind: *BAD,------ TextString ------ TextString ------ TextString ------ A,2,-.1,["TextString",STANDARD,S=.3,U=0.0,Y=-.15],-2 *GOOD,------ TextString ------ TextString ------ TextString ------ A,2,-1.1,["TextString",STANDARD,S=.3,U=0.0,X=-1.0,Y=-.15],-1 Edited by Kent Cooper - 01.Aug.2017 at 03:42 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,195 seconds.