111205
October 30, 2018, 3:19pm
1
Thank you for your help.
Can I use Dynamo to create dimensions on wall layers?
Wall_Test_01.dyn (22.3 KB)
You can try with something like this, a couple of nodes are from Clockwork package:
3 Likes
111205
November 1, 2018, 12:52am
3
lucamanzoni san
Thank you for your consideration.
I was able to create dimensions well for me.
An error occurred because Clockwork Wall.Orientation node outputs Revit XYZ, but it was fixed with reference to the following forum.
I am trying to extract wall orientation values to be usable and compared to other list of point or vector values. See below as an example:
[image]
What would be the best way to manage the wall orientation values to be comparable to vector values or vice versa? I can say a way using strings and being nifty with editing and formatting characters but I have a gut feeling there is a much more simpler method. Any ideas?
Wall_Layer_Dimension_01.dyn (31.2 KB)
I am sorry for my lack of explanation, but is it possible to create dimensions without using model lines or detail lines?
Ideally you should be able to create dimensions only with wall elements.
Thank you.
Sadly that node works only with few objects, as far as I know only with model lines.
You can use some Python methods, I did something similar here:
Hello everyone,
I am trying create automatic measurements within Dynamo on a Revit project.
Now I am struggeling to get the ReferencePlanes out of an Element. I didnt find any node to select the Reference Plane of an Element?
Any help would be appreciated.
Thanks
[image]
these are my families. (This dimensions are done by hand)
[image]
and here you can see there are Reference planes inside which I want to select.
my Skript so far:
[image]
How to get the Reference plan…
If you have knowledge of Python you can give a try, but I cannot help you before next monday.
111205
November 1, 2018, 2:16pm
5
lucamanzoni san
I am grateful for your cooperation.
Python is a beginner, but I created Dynamo with reference to the topic I gave you.
I was able to create dimensions of wall width and thickness, but it is stalled because I can not get the reference surface of the layer.
Wall_Layer_Dimension_02.dyn (8.6 KB)
I’d appreciate it if you can give us advice on how to get the reference surface of the layer in Python.
You can provide me with the answers whenever you like or can.
Thank you.
Hey,
This is such a great idea, I’d love to get it working in legends
Something which might be important is here…
Hi Kevin,
There is some working python code in the Springs package: Springs.FamilyInstance.ByFacePoints that uses this method. I have pasted it below. Thanks to @Dimitar_Venkov
#Copyright(c) 2016, Dimitar Venkov
# @5devene, dimitar.ven@gmail.com
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import Transaction…
Looking up face references is something I can’t find in the api , walls have ‘lookup’, faces have references, but i don’t know how you extrapolate this to ‘lookup’ references from sub-surfaces…
Online Documentation for Autodesk's Revit API: 2015, 2016, 2017, 2017.1, 2018
Online Documentation for Autodesk's Revit API: 2015, 2016, 2017, 2017.1, 2018
Hope that’s useful,
Mark
EDIT: This was my attempt to dimension walls
Hi All,
Just a WIP incase anyone has a free Sunday and fancies a play with it! Otherwise I’ll get back on it on Monday…
Following the amazing work here:
I want a graph which will create individual dimensions (so I can check them against brick dimensions) and automatically create the dimension location lines.
So far I’ve got here… It’s nearly there, but rather than create a dim per ‘reference’ it’s creating a dim per line… It’s also doing something weird with the view… The created dims are…