Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted
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?

Posted

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?

Posted
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

Posted

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"

Posted
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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...