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.
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.
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 !
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.
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
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.
@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:
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?