Bane Posted March 13, 2009 Posted March 13, 2009 Hello, I created a complex line type which consists shapes that must lay on the line at equivalent distances. It works fine, but I need beginning and end of line to be the same length - (from line beginning to first shape and from last shape to line end should be the same length). In other words, shapes should be centered on the line. Example (what I got now): --░--------░--------░--------░------ Example (what I want): ----░--------░--------░--------░---- It's not only about this linetype, I must create about 100 different complex linetypes with very complex shapes. Some shapes will be over the line, some will be under or above the line... I know how to create these linetypes but don't know a way to center shapes depending on line length. Any suggestion is very welcome. Thanks Quote
dbroada Posted March 13, 2009 Posted March 13, 2009 as far as I know, that is impossible - certainly using plain 2008. I thought I saw somewhere there were going to be some refinements in future releases but I don't know if they have arrived yet. Quote
Bane Posted March 13, 2009 Author Posted March 13, 2009 as far as I know, that is impossible - certainly using plain 2008. I thought I saw somewhere there were going to be some refinements in future releases but I don't know if they have arrived yet. Thanks for reply Dave. If you draw a "GAS" line which comes with any AutoCad installation you will see that this problem is solved there. That kind of lines ("GAS" line), is easier to create (they didn't use shapes), but maybe we can get some recommendations from there? Quote
CarlB Posted March 13, 2009 Posted March 13, 2009 It may depend how you define the linetype in acad.lin - are you defining a line segment before the shape description part (and not after as well), as in the "GAS" definition? Quote
Bane Posted March 13, 2009 Author Posted March 13, 2009 It may depend how you define the linetype in acad.lin - are you defining a line segment before the shape description part (and not after as well), as in the "GAS" definition? I used Express Tools to create this linetype. I got this in separated .lin file: *L96-01,Concrete_fence A,4,[L96-01,L96-01,s=1,r=.0],4 The shape is created first, then I drew a part of line and put all together to linetype. I tried to add some stuff from GAS line definition but I haven't succeed. If you want I can upload shape file, or example how the line looks like or describe how I created line step by step... Thanks Quote
CarlB Posted March 13, 2009 Posted March 13, 2009 You might experiment with the starting & ending line segments... (now) A,4,[L96-01,L96-01,s=1,r=.0],4 (try) A,8,[L96-01,L96-01,s=1,r=.0] For example we have one like this: *GASLINE, Gas ----G--------G--------G---- A,5,-.092,[G,Civ.shx,s=.24],-.092 the "-.092" defines gap lengths around the "G" Quote
Bane Posted March 14, 2009 Author Posted March 14, 2009 You might experiment with the starting & ending line segments... (try) A,8,[L96-01,L96-01,s=1,r=.0] Can't believe the solution is that easy. Thank you very very much. Only thing I have added to your suggestion is ,-.0 at the end. This is just great. A,8,[L96-01,L96-01,s=1,r=.0],-.0 Hope this will help someone else. Best wishes. 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.