Why can't I change the line type?

Hi,

Why the pattern setting for my custom line-type is greyed out and won’t let me change it?

image

Please change your title to either

How can I change the linetype?

or

Why can’t I change the linetype?

This was a bug that was reported quite a while back, don’t know if it was fixed. Do you have the latest service release?

thanks for the quick reply. yes i do have the latest

image

OK, it is probably related to this bug, which is still open and will not be fixed for V7:

https://mcneel.myjetbrains.com/youtrack/issue/RH-67234

You probably can’t delete those linetypes either, maybe try one as a test. If that is indeed the case, then it it the same bug.

correct, can’t delete.

OK, same bug then. Apparently the only way to deal with this is to get rid of the stuck linetpyes and make new ones. Since they don’t automatically go away with Purge in this case, what I could suggest is that first you select all objects that use that linetype with the script below, and while selected, change their linetype to Continuous via Properties.

SelCrvsByLinetype.py (2.1 KB)

Then use the following script to force delete the offending linetype from the file.

ForceDeleteLinetype-2.py (516 Bytes)

Then create a new linetype as you want and assign it to the objects (which should still be selected, if not SelLast should find them).

2 Likes

Great, thanks!