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

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

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.

:raised_hands:t4: Works, thx so much.

1 Like

@wim For some silly reason, I can’t seem to automate this process. Tried a number of ways, including creating a Macro button; a new Alias, set to enact a brief macro. Not working.

My layer is 03_Dimensions (which is nested under another layer, but it seems that’s not an issue with the nomenclature of this particular tool – which is nice.)

I guess the part of the Macro I’m missing, would be the ability to have the User Input (i.e. the specified dim layer) to be auto-filled. Basically:

! _SetDimensionLayer _U _03_Dimensions

or

! _SetDimensionLayer _UseDimensionLayer=SpecifyLayer _DimensionLayerName= 03_Dimensions _EnterEnd

(…in which “03_Dimensions” is the automated User Input.)

Any chance you could assist me (and I’m assuming, others) with this when you have spare moment?

Thx!

Hi Alan -

I have the following in my Rhino Options > General > Command lists > Run these commands every time Rhino starts setting:

SetDimensionLayer UseDimensionLayer=SpecifyLayer Annotations Enter

In your case, that would be:

SetDimensionLayer UseDimensionLayer=SpecifyLayer 03_Dimensions Enter

Does that work?
-wim

1 Like

That’ll do it, thanks, @wim

1 Like

Hi All

May I make a request. Can a function be added that allows a particular dimension style to be set to a particular layer? Opposed all dims going on a single layer. Perhaps in the annotation styles section of document properties? Had a quick look at Rhino API and there is not a property for layer, could this be added please?