The delete button is grayed out…
Purge is not useful because some lines inside blocks have that linetype, but I don’t want them anymore.
Import also works erratically: I import my linetypes from another file, say YES to replace, confirm, and when I check again the linetypes I had imported are gone and the ones in document remain…
Edit: the line types I want to delete are not default.
I also can’t edit them.
I think a ‘reset to default button’ is necessary too. For now we are stuck with not being able to edit them back to default, and not being able to replace them with an import… so there is basically now way to solve this right now…
IIRC, as of V7, you cannot edit or delete the base linetypes, only copies of them or new ones created from scratch.
Thought so, edited OP to clarify I can’t delete non default linetypes.
I can’t reproduce that behavior here.
Please post your
SystemInfo and provide a 3dm file that we can check.
Rhino 7 SR14 2022-1-10 (Rhino 7, 7.14.22010.17001, Git hash:master @ d8a2d020be8cb487bfc091316ef32170cfc7eddb)
License type: Evaluation, build 2022-01-10
License details: Cloud Zoo
Expires on: 2022-02-21
Windows 10.0.19044 SR0.0 or greater (Physical RAM: 64Gb)
Computer platform: DESKTOP
Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 3070 (NVidia) Memory: 8GB, Driver date: 12-15-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 497.29
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)
Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High
Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 12-15-2021
Driver Version: 22.214.171.12429
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB
Rhino plugins that do not ship with Rhino
C:\Program Files\Enscape\Bin64\Enscape.Rhino7.Plugin.dll “Enscape.Rhino7.Plugin” 0.0.21323.1750
C:\Program Files\Chaos Group\V-Ray\V-Ray for Rhinoceros\V7\VRayForRhino.rhp “V-Ray for Rhino”
Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.14.22010.17001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.14.22010.17001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.14.22010.17001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.14.22010.17001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.14.22010.17001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”
linetypes.3dm (155.0 KB)
I deleted all the geo, the linetypes remain. Obviously with purge they go away, but in my file that is not a solution because some geo still has those linetypes assigned.
Purge purges unused linetypes…
Right. I know that. I am not wondering why purge does not work, but simply saying that purge, the only working solution to this problem, does not apply to my case, because I have block inside blocks inside blocks with linetypes assigned and that would mean getting into every block and changing the linetype of each curve just to be able to run Purge.So yeah, I need a way to delete/reset my linetypes without using Purge.
You would need a script to do that, to enter every block definition and resetting curves to default, so either learn programming or find someone who do. (Pay them if needed, or save the cash and do it manually)
I don’t get what you’re after then. Do you want to remove the linetypes applied to all the objects (including in blocks) or remove the unused linetypes from the file without affecting objects? The probable reason why you can’t simply delete the linetypes via the linetype section in your file is because they are “in use”.
I don’t think you understand the problem Holo.
I got this document from someone else, and somehow the Default Linetypes are edited. I want them back to default but I can’t edit them. Example: Hidden has insane values.
Also, there are new created linetypes which I can’t delete as well, and I would like to. Some I can edit and some other’s I can’t. Example: CENTER2 is not a default linetype, but I can’t edit it.
I should be able to delete all the line types on a document or at least reset them to default. This should come with the Rhino license I bought.
Even more when I import same named linetypes, confirm to replace, and these still don’t get updated/replaced. Basically the import or replace function isn’t working.
No, I uploaded a file, no curves, no linetypes in use in geometry nor layers nor blocks. The linetypes get purged correctly, but I still can’t manually delete them from that menu. Please if you want to be helpful check things before commenting mere theories.
OK, that makes it even harder to understand
I guess you need to provide a simple example with a Rhino file that has one simple block in it that illustrates the problem.
If the files are copied INTO the document then it should be possible to edit the linetypes. But if the block is INSERTED into the document then that would make it different. But I see your point!
I did upload a file at the end of my reply to @wim.
This has nothing to do with blocks, blocks are just the reason I can’t use purge as a solution. But as you would see if you had downloaded my file, the problem is there without the need for geometry of any kind.
Check the linetypes menu, tell me what you see.
I see linetypes that can not be deleted and I see the values grayed out.
BUT I can purge the file and they go away… (no blocks in file, just a single point)
I agree that this is strange and that altering the linetypes should have been possible.
And IF I were to be able to delete them AND they were in use, I would expect Rhino to ask if the curves that use them should be resat to Continous.
Good, you see the same as me. Now suppose Purge does not exist.
Edit, try to import linetypes from a default file, does the replace function work on your side? To me, I can replace fine, but when I open the linetype menu again, it looks as if nothing has changed, the old linetypes are still there.
OK, so here is what I see as well.
Make a new document and look at linetypes:
Default linetypes can not be altered. Only imported or custom ones.
Right, I wonder how ‘Hidden’ got altered then…
I wonder if this is a new feature, I can’t remembering not being able to alter these…
@pascal do you know?
Yes, this has come up before, it is what @Helvetosaur was talking about. Let use be clear this is not what my problem is about though.
Ther Rhino UI will always show the build-in linetypes, even if they are not in the model.
My guess of the moment is that these are from older files, from before the defaults were ‘solidified’; I don’t think it was always the case.