antoine3
(Antoine)
June 19, 2023, 4:50pm
1
Hello,
I have several instances of the same block. I gave each of them an id (01, 02, 03, etc).
I would like to display this object name (which is attached to the block) in a text inside the block.
I tried using the BlockInstanceName text field, but it displays the block’s name (which is not what I’m looking for).
And when I try using the object name text field, it seems like it has to point to a specific object ID, which does not work either since I would like to display the text’s parent object name (the block that contains the text).
Is there a way to have a text field that would be something like this:
%<ObjectName("ParentID")>%
Or maybe I’m not doing it properly, and I should just use key/values (it just seems to me that I would be repeating a field that already exists natively)?
Thank you,
pascal
(Pascal Golay)
June 19, 2023, 5:39pm
2
Hi Antoine -yeah… I do not see how to do that off hand. If it is possible I am not seeing it.
-Pascal
ice
(Viktor)
April 1, 2026, 9:49am
3
Is there any update on this?
I also would like to have the name of the parent block displayed as a text object inside the block, so that I can display the block’s name and move it around easily.
Workaround would be to put the Block in another Block as a container and then use the Block Instance Name for the Enhanced Text Fields, but this adds an unnecessary block and makes editing more annoying because you have go deeper in the blocks hierarchy.
Would be great to have a command/attribute like Block Instance Parent Name
ice
(Viktor)
April 1, 2026, 10:22am
5
Wim Dekeyser:
%<ObjectName(“Block”;)>%
Thank you Wim for the swift reply.
Maybe I’m doing something wrong but the command doesn’t work for me. Rh8 Mac, latest release.
wim
(Wim Dekeyser)
April 1, 2026, 10:42am
6
Hi Viktor -
Sorry. Not sure how that semi-colon found its way into that one…
I’ve updated my previous post with that removed.
-wim
ice
(Viktor)
April 1, 2026, 10:47am
7
Unfortunately, it’s still not working. I’m expecting to see the name “i2 15” displayed, yet only the “####” is being displayed.
Rhino 8 SR29 2026-3-4 (Rhino 8, 8.29.26063.11002, Git hash:master @ bbd126f84fcdaf7a974615b7c9f4f8667571c147)
License type: Educational, build 2026-03-04
License details: Cloud Zoo
Apple macOS Version 15.2 (Build 24C101) (Physical RAM: 32GB)
Mac Model Identifier: MacBookPro18,2
Language: en-DE (MacOS default)
.NET 8.0.14
Metal GPU Family Apple 7
Metal GPU Family Common 3
Metal GPU Family Mac 2
Graphics processors
Apple M1 Max
DELL P2715Q (2560 x 1440 @ 60.00Hz)
Color LCD (1728 x 1117 @ 120.00Hz)
GPU Vendor: Apple
USB devices
None
Bluetooth devices
None
Third party kernel extensions
None
Third party plugins
/usr/lib/swift/libswiftCore.dylib
/usr/lib/swift/libswiftObjectiveC.dylib
/usr/lib/swift/libswiftCoreFoundation.dylib
/usr/lib/swift/libswiftDarwin.dylib
/usr/lib/swift/libswiftDispatch.dylib
/usr/lib/swift/libswiftIOKit.dylib
/usr/lib/swift/libswiftSystem.dylib
/usr/lib/swift/libswiftXPC.dylib
/usr/lib/swift/libswift_Builtin_float.dylib
/usr/lib/swift/libswift_Concurrency.dylib
/usr/lib/swift/libswift_StringProcessing.dylib
/usr/lib/swift/libswift_errno.dylib
/usr/lib/swift/libswift_math.dylib
/usr/lib/swift/libswift_signal.dylib
/usr/lib/swift/libswift_stdio.dylib
/usr/lib/swift/libswift_time.dylib
/usr/lib/swift/libswiftos.dylib
/usr/lib/swift/libswiftsys_time.dylib
/usr/lib/swift/libswiftunistd.dylib
/usr/lib/swift/libswiftDistributed.dylib
/usr/lib/swift/libswiftObservation.dylib
/usr/lib/swift/libswiftMetal.dylib
/usr/lib/swift/libswiftOSLog.dylib
/usr/lib/swift/libswiftQuartzCore.dylib
/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib
/usr/lib/swift/libswiftsimd.dylib
/usr/lib/swift/libswiftRegexBuilder.dylib
/usr/lib/swift/libswift_RegexParser.dylib
/usr/lib/swift/libswiftCryptoTokenKit.dylib
/usr/lib/swift/libswiftAVFoundation.dylib
/usr/lib/swift/libswiftCoreAudio.dylib
/usr/lib/swift/libswiftCoreLocation.dylib
/usr/lib/swift/libswiftCoreMIDI.dylib
/usr/lib/swift/libswiftCoreMedia.dylib
/usr/lib/swift/libswiftCoreImage.dylib
/usr/lib/swift/libswiftAccelerate.dylib
/usr/lib/swift/libswiftMLCompute.dylib
/usr/lib/swift/libswiftSynchronization.dylib
/usr/lib/swift/libswiftCompression.dylib
/usr/lib/swift/libswiftFileProvider.dylib
/usr/lib/swift/libswiftCoreGraphics.dylib
/usr/lib/swift/libswiftFoundation.dylib
/usr/lib/swift/libswiftSwiftOnoneSupport.dylib
/usr/lib/usd/libusd_ms.dylib
/usr/lib/swift/libswiftIntents.dylib
/usr/lib/swift/libswiftSafariServices.dylib
/usr/lib/swift/libswiftSpatial.dylib
/usr/lib/swift/libswiftWebKit.dylib
/usr/lib/swift/libswiftAppleArchive.dylib
/usr/lib/swift/libswiftDataDetection.dylib
/usr/lib/swift/libswiftNaturalLanguage.dylib
/usr/lib/swift/libswiftDemangle.dylib
/usr/lib/swift/libswiftVideoToolbox.dylib
/usr/lib/swift/libswiftGameplayKit.dylib
/usr/lib/swift/libswiftSpriteKit.dylib
/usr/lib/swift/libswiftPassKit.dylib
/usr/lib/swift/libswiftGLKit.dylib
/usr/lib/swift/libswiftMetalKit.dylib
/usr/lib/swift/libswiftModelIO.dylib
/usr/lib/swift/libswiftSceneKit.dylib
/usr/lib/swift/libswiftMapKit.dylib
/usr/lib/log/liblog_network.dylib
Rhino plugins that do not ship with Rhino
/Users/viktor/Library/Application Support/McNeel/Rhinoceros/packages/8.0/BlockEditNew/2.1.4/blockeditnew.rhp “BlockEditNew” 2.0.0.0
Rhino plugins that ship with Rhino
/Applications/Rhino 8.app/Contents/Frameworks/RhMaterialEditor.framework “Renderer Development Kit” 8.29.26063.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Commands.rhp “Commands” 8.29.26063.11002
/Applications/Rhino 8.app/Contents/PlugIns/NamedSnapshots.rhp “Snapshots” 8.29.26063.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCodePlugin.rhp “RhinoCodePlugin” 8.29.26063.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RDK_EtoUI.rhp “RDK_EtoUI” 8.29.26063.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/MeshCommands.rhp “MeshCommands” 8.29.26063.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_PDF.rhp “PDF Export” 8.29.26063.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/BlockEdit.rhp “BlockEdit” 8.29.26063.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoRenderCycles.rhp “Rhino Render” 8.29.26063.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCycles.rhp “RhinoCycles” 8.29.26063.11002
/Applications/Rhino 8.app/Contents/PlugIns/AnimationTools.rhp “AnimationTools” 8.29.26063.1002
/Applications/Rhino 8.app/Contents/PlugIns/SectionTools.rhp “SectionTools” 8.29.26063.1002
/Applications/Rhino 8.app/Contents/PlugIns/RhinoRender.rhp “Legacy Rhino Render” 8.29.26063.1002
/Applications/Rhino 8.app/Contents/PlugIns/RhinoLabsTools.rhp “Rhino Labs Tools” 8.29.26063.1002
/Applications/Rhino 8.app/Contents/PlugIns/Displacement.rhp “Displacement” 8.29.26063.1002
/Applications/Rhino 8.app/Contents/PlugIns/PanelingTools.rhp “PanelingTools” 8.29.26063.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoDLR_Python.rhp “IronPython” 8.29.26063.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/GrasshopperPlugin.rhp “Grasshopper” 8.29.26063.11002
wim
(Wim Dekeyser)
April 1, 2026, 10:51am
8
Hi Viktor -
Please post that 3dm file.
-wim
ice
(Viktor)
April 1, 2026, 10:57am
9
Here’s the 3D file. Thank you for looking into it.
260401-Rhino_Bug_Parent Block Name.3dm (3.3 MB)
wim
(Wim Dekeyser)
April 1, 2026, 12:25pm
10
Hi Viktor -
Viktor:
Here’s the 3D file.
The original poster was looking for a way to display the names of the individual block instances of the same block definition. You are looking for the name of the block definition.
For that, you need %<BlockName("Block")>%.
→ Viktor-260401-Rhino_NoBug_Parent Block Name.3dm (2.9 MB)
-wim
1 Like