Jump to content

Custom Line Type Error!


sivapathasunderam

Recommended Posts

Dear all;

 

I have created a custom line type of Road marking

2m line & space 6m, again 2m line & space 6m as shown in image

but it is not in scale at the beginning & end portion when i STRETCH as shown in the image it changes

Why it happen? what is the ERROR?

 

Pls. help

I cannot able to reduce the cad file size below 1MB with the only line type object for attaching as reference

 

Many thanks

Siva

cadtutor.jpg

Link to comment
Share on other sites

When you create a linetype, AutoCAD guarantees that the endpoints of lines and arcs end with a dash. The pattern does not start with a fixed length. The whole line length is considered, and AutoCAD adjusts the first and last dashes to cater for the actual line length.

 

You have no error. It is exactly how AutoCAD works.

Link to comment
Share on other sites

Hi, thanks for your response.

 

So there is no error

Maybe future cad versions will have solution

 

Kind regards

Siva

Link to comment
Share on other sites

The description from @eldon applies when you use the "A" alignment code, but there is another code that generates linetypes differently. Neither one will do exactly what you want - unless the total length of your entity is exactly the same as the sum of the segment lengths.

 

 

For example, if you have a linetype definition that says draw a 1 unit dash and a 1 unit gap, and repeat, how do you want it to appear on a line that is 6.7 units long?

The A alignment code ensures that each interior dash and gap are exactly 1 unit long. The starting and ending segments are the ones who are modified.

The S alignment code distributes the extra space among the dashes and gaps (with the unfortunate side effect of ending with a gap in this case)

 


*A-Align-Code, __ __ __ __ __ __ __ __ __
A,1.0,-1.0

*S-Align-Code, __ __ __ __ __ __ __ __ __
S,1.0,-1.0

 

 

codes2.jpg

Link to comment
Share on other sites

The description from @eldon applies when you use the "A" alignment code, but there is another code that generates linetypes differently. Neither one will do exactly what you want - unless the total length of your entity is exactly the same as the sum of the segment lengths.

 

 

For example, if you have a linetype definition that says draw a 1 unit dash and a 1 unit gap, and repeat, how do you want it to appear on a line that is 6.7 units long?

The A alignment code ensures that each interior dash and gap are exactly 1 unit long. The starting and ending segments are the ones who are modified.

The S alignment code distributes the extra space among the dashes and gaps (with the unfortunate side effect of ending with a gap in this case)

 

Thanks so much McSwain,

It a perfect idea & excellent knowledge.

It seems to be great now

 

Many thanks

Siva

Link to comment
Share on other sites

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