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…