Is there a way to make the default “Continuous” linetype have flat caps?
Huh. You’d think I’d have tried that.
Hello- as far as I can see there is not. The best that comes to mind is to make a new template file with all layers using a new linetype that you like - but this would only be of limited use, as is.
You can try a little script like so, with your modified line type name filled in.
! _-RunPythonScript (
import scriptcontext as sc
import Rhino
name = "Continuous 01"
layers = sc.doc.Layers
idx = layers.Add()
layer = layers[idx]
linetypes = sc.doc.Linetypes
typeIdx = linetypes.Find(name)
if typeIdx:
layer.LinetypeIndex = typeIdx
)
-Pascal
Ah, thanks, @pascal - I was going to go double check back at the computer to see if those options were indeed greyed out, but assumed I had just made a brainless blunder and not checked that out before, as @Astrid_Kjærbølling suggested I do. Marked as Solved.
@mary Having trouble plotting and seeing square butt linetype styles… the most used, default linetype, contiuous is greyed out and I can’t change the settings ?? @Japhy @Eugen
Hi Zale_Orcid,
You will need to duplicate the linestyle to generate an editable one.
did that, still coming out round when plottted…
Happy to help but will need additional information to do so effectively, thanks