I want to add a text in the "below" dimensions text of multiple dimensions I was wondering if any of you have a script for this.
Solved! Go to Solution.
I want to add a text in the "below" dimensions text of multiple dimensions I was wondering if any of you have a script for this.
Solved! Go to Solution.
Solved by L.Maas. Go to Solution.
Hereunder the basic nodes to do this
Louis
Please mention Revit version, especially when uploading Revit files.
Hereunder the basic nodes to do this
Louis
Please mention Revit version, especially when uploading Revit files.
thank you!
Please I need to add the text for certain value of a dimension line such as gaps.how i can do that?
Please I need to add the text for certain value of a dimension line such as gaps.how i can do that?
If it is a new question, better to start a new thread.
I am not sure what you want. Can you better explain what you need?
Maybe some examples, screenshots etc?
Louis
Please mention Revit version, especially when uploading Revit files.
If it is a new question, better to start a new thread.
I am not sure what you want. Can you better explain what you need?
Maybe some examples, screenshots etc?
Louis
Please mention Revit version, especially when uploading Revit files.
how to add (p) text just to 3/4" values? And how to add two different text to the 3/4" and the others (walls)?
how to add (p) text just to 3/4" values? And how to add two different text to the 3/4" and the others (walls)?
Is something like this what you want?
Louis
Please mention Revit version, especially when uploading Revit files.
Is something like this what you want?
Louis
Please mention Revit version, especially when uploading Revit files.
not exactly, this screen shot maybe more clear of what I need to explain >> the 3/4'' take text PJ & the walls take text PD how to do that in dynamo ? (exactly the same of dimension in the screenshot)
Thanks in advance.
not exactly, this screen shot maybe more clear of what I need to explain >> the 3/4'' take text PJ & the walls take text PD how to do that in dynamo ? (exactly the same of dimension in the screenshot)
Thanks in advance.
Concept stays largely the same
In this case the Dimensions.SetBelowValue is from the Rhythm package.
The core node SetBelowValue will set all the below text to the same value.
Of course you will have to modify the script for your own purpose.
Here I have only a single dimension. You will have to decide how to handle other dimensions you have in the view (include/exclude).
Louis
Please mention Revit version, especially when uploading Revit files.
Concept stays largely the same
In this case the Dimensions.SetBelowValue is from the Rhythm package.
The core node SetBelowValue will set all the below text to the same value.
Of course you will have to modify the script for your own purpose.
Here I have only a single dimension. You will have to decide how to handle other dimensions you have in the view (include/exclude).
Louis
Please mention Revit version, especially when uploading Revit files.
Please, can you share this script?
Or send it to me please
Arch.khaled.94@gmail.com
Thank you
Please, can you share this script?
Or send it to me please
Arch.khaled.94@gmail.com
Thank you
please how to filter the dimension type to select just one type?
I have tried this process but it doesn't work.
please how to filter the dimension type to select just one type?
I have tried this process but it doesn't work.
What does the error say?
What does the error say?
Always check what the warning says. Even that a node is yellow does not mean that it does not work at all. It means that it does not work in some (or all) instances. The warning might give an idea of the issue at hand.
First Issue. What I see in your script is that in the top you filter out elements (with the filterbyboolmask). However in the bottom row you do not do this. That is probably the first cause of the warning in this case.
In the top row you remove dimensions that are not of type "panel". You should remove the corresponding list of values from the bottom row.
Second Issue. Look carefully at my script. In your case you extract some data from the dimension (i.e. name)
In your last node "Setbelowvalue" what do you feed in?....the name. However what that node needs is not a text/string but a dimension. This information is at the "All elements of category" node (indicated by ID in green highlight). So the filterbyboolmask should be applied on that node and then feed in the setbelowvalue. (You want apply the changes on the dimension element, not on the name of that dimension).
With nodes always check what kind of information the inputs needs (e.g. elements, string, integers, numbers).
Louis
Please mention Revit version, especially when uploading Revit files.
Always check what the warning says. Even that a node is yellow does not mean that it does not work at all. It means that it does not work in some (or all) instances. The warning might give an idea of the issue at hand.
First Issue. What I see in your script is that in the top you filter out elements (with the filterbyboolmask). However in the bottom row you do not do this. That is probably the first cause of the warning in this case.
In the top row you remove dimensions that are not of type "panel". You should remove the corresponding list of values from the bottom row.
Second Issue. Look carefully at my script. In your case you extract some data from the dimension (i.e. name)
In your last node "Setbelowvalue" what do you feed in?....the name. However what that node needs is not a text/string but a dimension. This information is at the "All elements of category" node (indicated by ID in green highlight). So the filterbyboolmask should be applied on that node and then feed in the setbelowvalue. (You want apply the changes on the dimension element, not on the name of that dimension).
With nodes always check what kind of information the inputs needs (e.g. elements, string, integers, numbers).
Louis
Please mention Revit version, especially when uploading Revit files.
thank you all, I have resolved it.
the error was in this feed.
thank you all, I have resolved it.
the error was in this feed.
Hi mate, @L.Maas
I was checking this script, and I think I am almost there. Can you have a look? In my case I want to add the text "GAP" to the set below value only to the dimension is 16, I hope you can have a look
Cheers
Hi mate, @L.Maas
I was checking this script, and I think I am almost there. Can you have a look? In my case I want to add the text "GAP" to the set below value only to the dimension is 16, I hope you can have a look
Cheers
Check what your nodes are doing
Here I show what basically happens in your node. You do not get the value out you want (only true or false).
Thereunder the code block rewritten and thereunder a solution with regular nodes
Louis
Please mention Revit version, especially when uploading Revit files.
Check what your nodes are doing
Here I show what basically happens in your node. You do not get the value out you want (only true or false).
Thereunder the code block rewritten and thereunder a solution with regular nodes
Louis
Please mention Revit version, especially when uploading Revit files.
Great, thanks for your help mate, big one
Great, thanks for your help mate, big one
How did you resolve that issue, could you share a screenshot
I have used the same code but getting "Dereferencing pointer" error
How did you resolve that issue, could you share a screenshot
I have used the same code but getting "Dereferencing pointer" error
Can't find what you're looking for? Ask the community or share your knowledge.