Can it be that dimensions auto allocate to a dimension layer?

Hi,
V5
I am drawing curves and dimensions , if I have dimension layer ticked the dims go where I want them and go green, but the curves also go green and I cant see them, so I am forever draw curve select curve allocate to the object layer.

or alternatively, I have the object layer ticked and keep having to allocate dims just drawn to the green dims layer.

Is it possible for my sanity to have rhino know when a dim is created and allocate it automatically to a layer of my choosing ?

That way I can tick the object layer, draw and see object develop and not have dims also end up on that layer and in same colour as I work, where their lines I think at times are my curves !

Steve

Not a bad idea, Steve. There might be some cases where the automatic behavior may cause problems of it’s own, but IMHO that would be pretty infrequent compared to the convenience of the behavior you suggest. And, of course, if no dedicated layer name is provided the behavior would be just as it is now, I presume.

Perhaps a similar feature could be provided for text.

Granted it would be a feature whose sole purpose would be to save the modeler from himself and make things more convenient. This may be contrary to McNeel’s product design philosophy. :wink:

There have been several requests for this, I added this to the system as an enhancement request.

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

1 Like

Hi, amazed that it doesnt exist,
I envisage that Rhino knows when a dimension command is used, and that the user can indicate which layer such command resukts get allocated to.

I have more than one layer, dims for one object as a layer subset, so turn off the object and the layers also vanish.

I also have different coloured dims layers for different sources of data, so again need the dims going to the dims layer I have indicated.

Also wish dims could auto BringToFront as user option, no point in having them hiding behind and peeking out etc, normally anyway.

Steve

the ability to assign different dimension styles to different layers would also be a nice addition :slight_smile:

Hi Steve,

I don’t see how Rhino is going to know the source of your dims so you are going to have to make a layer pick beforehand, unless you mean that that there is exactly one dim source per object layer and it is the choice of object layer that determines where the dim goes. It’d be good to clarify that.

Regards
Jeremy

Hi,
clarifiying.
lets say I have three dims layers
dk green dims from manufacturer plans
med green dims resulting from my own measurements on site
light green dims resulting from measurements within rhino.

I am tracing over manuf plan, so select dk green dims layer in the dims auto allocate procedure.
I then tick select my layer for the objects I am creating.
every time I create a dim it goes onto that dk green layer amidst creating objects which go to the ticked layer.

I then come to work with some on site measurements so select med green layer for dims auto allocate, carry on drawing and objects still go to the objects layer.

then I select the light green layer and do some measurements using rhino linear dims and they go to the light green layer, etc. Any objects I draw still go to the objects layer I still have ticked.

Rhino would use some kind of indication of which layer was dimsAutoAllocate.

Steve

I like it, good one. AutoCAD doesn’t even have this feature.

In the meantime, use seldim then change the layer for all selected dims in one go.

I added TestDimensionLayer in the v7 WIP for a prototype.
Only works with dimensions made with the Dim command now.
There’s a toggle for whether or not to use a different layer for dimensions.
If you toggle to use a specified layer, there’s a prompt for the layername
The layer is made if it doesn’t exist.
Tell me if it does what you need.

Hi,
Sounds interesting and thank you for running with this idea.
If it does my last post three dims layers scenario then YIPPEE.
v7 WIP
Do I need to be running V6 before I can try out v7 WIP ?
I wasnt even aware of a v7 WIP we could trial !
still on V5 here as I never go for something until I know its beyond its teething stage, and also havent the funds for V6 at the moment !

I am win 7 64bit pro so will this V7 WIP work ?

Steve

I know from personal experience that V7 WIP runs on Win 7 pro 64 bit.
I’m pretty sure that you need to have a V6 license to gain access to V7 WIP.

@Helvetosaur - Can you look at TestDimensionLayer in V7 and see if it does about what you had in mind?
Thanks

Note that this command now is called SetDimensionLayer.

2 Likes

Nice addition to the toolset. Really handy as I always want all my dimensions to be into the same layer.

Until then I created an alias assigned to the “DD”:
! _SelDim _ChangeLayer _Enter

1 Like

Is there a way to force Continued Dim string to also default to the Set Dim Layer?

I’ve tried multiple times in the past (even before RH7 had the new SetDimensionLayer command), but I’ve never been able to make the continued strings – whether they were continuted from existing strings, or a NewChain to auto-switch to my Dimension Layer.

EDIT: For that matter, Aligned and Rotated don’t default either.

Hi Alan -

That seems to be working fine here. Could you run SystemInfo and post that information here?
-wim

Thx for checking…

And FYI, haven’t Updated to today’s new Release (8/18/22)

Rhino 7 SR20 2022-7-12 (Rhino 7, 7.20.22193.09001, Git hash:master @ 9b19bfdb8c343dd6fa8df3514068defd72273d6f)
License type: Commercial, build 2022-07-12
License details: Cloud Zoo

Windows 10 (10.0.19044 SR0.0) or greater (Physical RAM: 32Gb)

Computer platform: DESKTOP

Hybrid graphics configuration.
Primary display: NVIDIA GeForce RTX 2070 (NVidia) Memory: 8GB, Driver date: 7-21-2022 (M-D-Y).
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
Primary OpenGL: NVIDIA GeForce RTX 3060 (NVidia) Memory: 12GB, Driver date: 7-21-2022 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 516.94
> Accelerated graphics device with 4 adapter port(s)
- Secondary monitor attached to adapter port #0

Secondary graphics devices.
Intel(R) UHD Graphics 630 (Intel) Memory: 1GB, Driver date: 1-22-2020 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- There are no monitors attached to this device!

OpenGL Settings
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: 7-21-2022
Driver Version: 31.0.15.1694
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 12 GB

Rhino plugins that do not ship with Rhino
C:\Users\alanf\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\IntelDenoiser\0.6.4\IntelDenoiser.Windows.rhp “IntelDenoiser.Windows” 0.6.4.0
C:\Users\alanf\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\SubstanceImporter\2.0.3\Substance.Win.rhp “SubstanceImporter” 2.0.3.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.20.22193.9001
C:\Program Files\Rhino 7\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 7\Plug-ins\RPC.rhp “RPC”
C:\Program Files\Rhino 7\Plug-ins\RhinoBonusTools.rhp “Rhino Bonus Tools”
C:\Program Files\Rhino 7\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 7\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.20.22193.9001
C:\Program Files\Rhino 7\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.20.22193.9001
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\Alerter.rhp “Alerter”
C:\Program Files\Rhino 7\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 7.20.22193.9001
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.20.22193.9001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.20.22193.9001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\BlockEdit.rhp “BlockEdit” 7.20.22193.9001
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 7\Plug-ins\NamedPositions.rhp “Named Position”
C:\Users\alanf\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\SectionTools\2021.4.30.511\SectionTools.rhp “SectionTools”

I’m actually hoping to have this customized version of the Linear Dim button work while sending the dims to the Set Dimension Layer

(I used to have verbiage that would send the standard <! _Dim> function over to my Dimension layer, but since I just realized RH7 has that ability, I’d like to shorten the macro and just have the following push to the correct Dim layer)

Hi Alan -
I think that I’m completely misunderstanding something.

The original request in this thread was met by adding the SetDimensionLayer command.
This command needs to be run before adding dimensions (of all kinds) to the document.
When this command is used to define a layer to move all dimensions to right after launching Rhino (e.g., by adding the command to the list of startup commands), when you create a new dimension, it will automatically move to that layer.

Is that not what you are trying to do?
-wim

1 Like

Hm, let me try it with a fresh document and report back. Thx.