Make linetype scale of block changeable

Make linetype scale of block changeable

michael_m_2
Contributor Contributor
519 Views
7 Replies
Message 1 of 8

Make linetype scale of block changeable

michael_m_2
Contributor
Contributor

Hello,

 

I am on AutoCAD 2024.  

 

I have a question about something basic.  I have written a standard block.  What I am trying to accomplish is to allow the linetype scale to be changeable.  I found a thread (here Solved: BLOCK REFERENCE Linetype Scale - Autodesk Community ) which said that you can set the linetype scale to "By Block".  However, I am having trouble finding where it is possible to do this.  In the Properties Palette, I can enter a number for the linetype scale, and I can use the calculator, but I don't know how to change the linetype scale to By Block.  Is there a way to do this?  

 

Thank you

0 Likes
Accepted solutions (1)
520 Views
7 Replies
Replies (7)
Message 2 of 8

Kent1Cooper
Consultant
Consultant

You would open the Block for editing, in either REFEDIT or BEDIT, and change the linetype scale of all the objects in it to ByBlock.  [Or just those that are of non-continuous linetypes, since for continuous lines the linetype scale doesn't matter.]

Kent Cooper, AIA
Message 3 of 8

pendean
Community Legend
Community Legend

In addition to using core commands as noted above...

 

There are many free LISP options to do what you are asking for ever faster and quicker and across many blocks, these can be found all over these forums and on the web @michael_m_2 

Find and use those, most of us have done for decades now.

0 Likes
Message 4 of 8

DGCSCAD
Collaborator
Collaborator

I'm not seeing an option for changing the Linetype scale to ByBlock, only numerical values.

 

Could you do a screen shot of this option? I'd like to see if I'm missing something here, or if maybe this is something added after 2018.

AutoCad 2018 (full)
Win 11 Pro
Message 5 of 8

pendean
Community Legend
Community Legend

@michael_m_2 "LINETYPE SCALE" has no such option, never has: may I ask, are you very new to the program, trying to self-teach by chance?

 

PROPERTIES command while editing your block, then choose LINETYPE, that's what you want to set that to BYBLOCK. 

 

LINETYPE SCALE setting in PROPERTIES has no effect on a block: you want to set LTSCALE command (not the same thing at all) so that your dashes for example are wider apart or less wide apart after you set your block to be dashed for example.

 

It might be time you shared a DWG file with this block in it, and inside that DWG file, elaborate in more detail what "look" you want that block to end up being.

 

Message 6 of 8

cadffm
Consultant
Consultant

Hi,

-offtopic-

because of this thread, I found a small long time Bug in DXF/DWG & AutoCAD,

by using the properties palette, you can set value 0 (zero), what is usually not allowed.

Recover&Audit ignores this invalid value, it remains

 

 

 
 

 

 

Sebastian

0 Likes
Message 7 of 8

DGCSCAD
Collaborator
Collaborator
Accepted solution

Setting an objects Linetype to BYBLOCK will effect that objects linetype when you set the block to a linetype, but then the 'Linetype scale' option is greyed out for any block selection.

 

irneb's code from this thread works nicely to achieve what @michael_m_2 is after.

AutoCad 2018 (full)
Win 11 Pro
0 Likes
Message 8 of 8

michael_m_2
Contributor
Contributor

Just want to note that I haven't replied to this topic yet, but for now I will likely use the solutions posted in the first reply, thank you for those.  In the future I also may look into the Lisp routines as well.  Thank you for all the help and suggestions.  I will mark the appropriate repl(ies) as solutions after I use and confirm them. 

 

Update: thank you for the clarifications.  

 

I tried the LISP routine that DGCSCAD posted that irneb wrote in the linked post, and I can confirm that the LISP routine works for changing the linetype scale of selected blocks individually.

 

Using the LTSCALE command will change the appearance of all the dashed lines in the drawing, correct? If I had to, I could go that route and then change the linetype scale of those other dashed lines afterward, but it appears that using the LISP routine will be the most convenient for me. 

0 Likes