Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom linetype unaffected by scaling

6 REPLIES 6
Reply
Message 1 of 7
pieter_souvereyns
285 Views, 6 Replies

Custom linetype unaffected by scaling

Is there a solution for this basic problem? 
Linetypes like painting stripes, hedges,  slope lines are not needed to be scaled alone the current scale.
They have a fixed distance in du(m), not like hidden linetype they are expressed in mm on paper.
When there is only 1 scale involved, it is just a matter of using the correct scale factors.
But when that drawing is used in a plot for 1/500 and another for 1/100.
They can't be correct on both.

 

How to handle this? 

 

Regards
Pieter

6 REPLIES 6
Message 2 of 7

@pieter_souvereyns ,

 

Take a look at this link:



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
Message 3 of 7

One way would be to draw the striped linetype on the Model tab at a scale it displays correctly then use the linexp.lsp code attached to explode the linetype making each stripe segment a separate object unaffected by scale.

 

Better way would be to created a different linetype for each scale you use in your drawings.

10-30Stripe20scale and

10-30Stripe40scale and whatever other scales you need.

64bit AutoCAD Map & Civil 3D 2023
Architecture Engineering & Construction Collection
2023
Windows 10 Dell i7-12850HX 2.1 Ghz 12GB NVIDIA RTX A3000 12GB Graphics Adapter
Message 4 of 7

I know that routine (linexp.lsp), a nice routine but it has 2 problems for us. 
1. The routines use the wmfout,
We have drawings over a big area, that makes that the use of the command wmfout gives a DPI problem (rectangles become almost rectangles). 
2 We have also linetpes that are not centered. These are wrong converted.

Message 5 of 7

This change the scale for a line but it doesn't help for doing multiple scales. 

Message 6 of 7

Have a look at PSLTSCALE.

Message 7 of 7

LTSCALE/ CELTSCALE / PSLTSCALE
When these variables or propertie are set they are for all lines the same. So for dashed as for painting lines, they work similar, not possible to make a differerence.
When set for 1/500, you can plot all the drawings related to that scale.
When there are also drawings for a different scale (let's say 1/2500 for an overview), all those lines get a same factor to fix the difference in scale. 
But there is a difference for painting lines (should be unnaffected) and hidden and dashed linetypes (following that scale).

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report