Custom linetype unaffected by scaling

pieter_souvereyns
Enthusiast
Enthusiast

Custom linetype unaffected by scaling

pieter_souvereyns
Enthusiast
Enthusiast

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

0 Likes
Reply
395 Views
6 Replies
Replies (6)

Valentin-WSP
Mentor
Mentor

@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
0 Likes

TomBeauford
Collaborator
Collaborator

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
0 Likes

pieter_souvereyns
Enthusiast
Enthusiast

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.

0 Likes

pieter_souvereyns
Enthusiast
Enthusiast

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

0 Likes

Simon_Weel
Advisor
Advisor

Have a look at PSLTSCALE.

0 Likes

pieter_souvereyns
Enthusiast
Enthusiast

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

0 Likes