BUG: <CTRL/CLICK> not recognized as RIGHT CLICK on block panel

Have some simple way to delete a block.

See end of thread.

1 Like

Does this not work? Delete a Block Definition - #2 by lander

Do you mean Block Instances or Block Definitions? The former can be deleted by selecting them in the viewports and hitting the Del key, the latter by selecting them in the Block Definitions Panel and hitting the Del key.

Seems pretty simple - what am I missing? I’m on Rhino 8.7.

[EDIT: sorry, I originally missed the Mac tag. Are things different on Mac?]

Regards
Jeremy

1 Like

I use the Purge -command. A lot. I work with blocks regularily.

1 Like

A post was split to a new topic: Can’t delete block if it is nested in other blocks

used to work on the mac but no longer it appears.

I just want to delete a standalone block,

1 Like

I want to emphasize how badly this is needed. It was in V7.

Hello-

This means that you would like to delete all instances and the definition of a block, correct?

If the block is also part of, nested in, another block defintion, this gets more complicated, understanding what the user wants. If not, then SelBlockInstanceNamed , then Purge should do it.

Does that get the result you want but you want it in one go?

-Pascal

1 Like

I want to be able to delete all instances and definitions of blocks that are not nested within another block definition.

And, does SelBlockInstanceNamed + Purge get you the result you are after?

@miano - see if this does it
EraseBlock.py (728 Bytes)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal

1 Like

It would be a lot nicer if there were simply a delete button on the blocks panel.

Hi John -

Just to make sure… when you right-click on a block in the panel, there is a delete button. That doesn’t solve your issue?
-wim

1 Like

I get nothing when I right click on a block in the block panel.

Hi John -

Nothing at all?
I’m getting this menu:

Please run the Rhino SystemInfo command and copy-paste the result here.
-wim

Yes, nothing at all.

Rhino 8 SR13 2024-10-8 (Rhino 8, 8.13.24282.10002, Git hash:master @ 7fc2e504d4c838aa0264b02fb10e24ecfff2824a)
License type: Commercial, build 2024-10-08
License details: Cloud Zoo

Apple macOS Version 14.6.1 (Build 23G93) (Physical RAM: 64GB)
Mac Model Identifier: MacBookPro18,2
Language: en-US (MacOS default)
.NET 7.0.0

Metal GPU Family Apple 7
Metal GPU Family Common 3
Metal GPU Family Mac 2
Graphics processors
Apple M1 Max
Color LCD (1728 x 1117 @ 120.00Hz)
GPU Vendor: Apple

USB devices
: USB DISK 2.0

Bluetooth devices
None

Third party kernel extensions
None

Third party plugins
/usr/lib/swift/libswiftCore.dylib
/usr/lib/swift/libswiftCoreFoundation.dylib
/usr/lib/swift/libswiftCoreGraphics.dylib
/usr/lib/swift/libswiftCoreImage.dylib
/usr/lib/swift/libswiftDarwin.dylib
/usr/lib/swift/libswiftDispatch.dylib
/usr/lib/swift/libswiftIOKit.dylib
/usr/lib/swift/libswiftMetal.dylib
/usr/lib/swift/libswiftOSLog.dylib
/usr/lib/swift/libswiftObjectiveC.dylib
/usr/lib/swift/libswiftQuartzCore.dylib
/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib
/usr/lib/swift/libswiftXPC.dylib
/usr/lib/swift/libswift_Concurrency.dylib
/usr/lib/swift/libswiftos.dylib
/usr/lib/swift/libswiftsimd.dylib
/usr/lib/swift/libswift_StringProcessing.dylib
/usr/lib/swift/libswift_RegexParser.dylib
/usr/lib/swift/libswiftCryptoTokenKit.dylib
/usr/lib/usd/libusd_ms.dylib
/usr/lib/swift/libswiftCoreAudio.dylib
/usr/lib/swift/libswiftCoreLocation.dylib
/usr/lib/swift/libswiftCoreMedia.dylib
/usr/lib/swift/libswiftCompression.dylib
/usr/lib/swift/libswiftCoreMIDI.dylib
/usr/lib/swift/libswiftAVFoundation.dylib
/usr/lib/swift/libswiftCoreML.dylib
/usr/lib/swift/libswiftFileProvider.dylib
/usr/lib/swift/libswiftIntents.dylib
/usr/lib/swift/libswiftAccelerate.dylib
/usr/lib/swift/libswiftGLKit.dylib
/usr/lib/swift/libswiftGameplayKit.dylib
/usr/lib/swift/libswiftMetalKit.dylib
/usr/lib/swift/libswiftModelIO.dylib
/usr/lib/swift/libswiftSceneKit.dylib
/usr/lib/swift/libswiftSpriteKit.dylib
/usr/lib/swift/libswiftVision.dylib
/usr/lib/swift/libswiftRegexBuilder.dylib
/usr/lib/swift/libswiftDemangle.dylib
/usr/lib/swift/libswiftShazamKit.dylib
/usr/lib/swift/libswiftObservation.dylib
/usr/lib/swift/libswiftVideoToolbox.dylib
/usr/lib/swift/libswiftWebKit.dylib
/usr/lib/swift/libswiftNaturalLanguage.dylib
/usr/lib/swift/libswiftSystem.dylib
/usr/lib/swift/libswiftMapKit.dylib
/usr/lib/log/liblog_network.dylib
/Users/johnmiano/.rhinocode/py39-rh8/libpython3.9.dylib
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_heapq.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_ssl.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/libssl.1.1.dylib
/Users/johnmiano/.rhinocode/py39-rh8/libcrypto.1.1.dylib
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_socket.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/math.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/select.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/array.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_struct.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/binascii.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/zlib.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_bz2.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_lzma.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/grp.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_bisect.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_random.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_sha512.cpython-39-darwin.so
/Users/johnmiano/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_datetime.cpython-39-darwin.so

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
/Applications/Rhino 8.app/Contents/Frameworks/RhMaterialEditor.framework “Renderer Development Kit” 8.13.24282.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Commands.rhp “Commands” 8.13.24282.10002
/Applications/Rhino 8.app/Contents/PlugIns/NamedSnapshots.rhp “Snapshots” 8.13.24282.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCodePlugin.rhp “RhinoCodePlugin” 8.13.24282.10002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RDK_EtoUI.rhp “RDK_EtoUI” 8.13.24282.10002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/MeshCommands.rhp “MeshCommands” 8.13.24282.10002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoRenderCycles.rhp “Rhino Render” 8.13.24282.10002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCycles.rhp “RhinoCycles” 8.13.24282.10002
/Applications/Rhino 8.app/Contents/PlugIns/AnimationTools.rhp “AnimationTools” 8.13.24282.1002
/Applications/Rhino 8.app/Contents/PlugIns/NamedPositions.rhp “Named Position” 8.13.24282.1002
/Applications/Rhino 8.app/Contents/PlugIns/SectionTools.rhp “SectionTools” 8.13.24282.1002
/Applications/Rhino 8.app/Contents/PlugIns/RhinoRender.rhp “Legacy Rhino Render” 8.13.24282.1002
/Applications/Rhino 8.app/Contents/PlugIns/RhinoBonusTools.rhp “Rhino Bonus Tools” 8.13.24282.1002
/Applications/Rhino 8.app/Contents/PlugIns/Displacement.rhp “Displacement” 8.13.24282.1002
/Applications/Rhino 8.app/Contents/PlugIns/PanelingTools.rhp “PanelingTools” 8.13.24282.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoDLR_Python.rhp “IronPython” 8.13.24282.10002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/GrasshopperPlugin.rhp “Grasshopper” 8.13.24282.10002

I was trying to delete a couple of blocks today from a file. I CTRL/Clicked on one of them and the menu you showed came up and I could delete it.

I tried on the other one and no menu came up.

It appears that on trackpad, (in this part of the UI at least) Rhino recognizes two fingers as a right click but does not recognize CTRL/Click as a right click.