Posts

Showing posts from January, 2019

Different batteries including hydrogen cells

https://www.sciencedirect.com/science/article/pii/S1369702103003316

ExportSelectoinToPCF

http://blogs.autodesk.com/revit/2019/01/08/export-assembly-separate-pcf-file/?wpfpaction=add&postid=4287 public void ExportSelectoinToPCF () { // get the selected element ids List < ElementId > elementIdsToPCF = new List < ElementId >(); List < ElementId > selectedElementIds = this . ActiveUIDocument . Selection . GetElementIds (). ToList (); elementIdsToPCF . AddRange ( selectedElementIds ); // output PCF for each assembly OutputAssemblyPCFs ( elementIdsToPCF , this . ActiveUIDocument . Document ); } // ExportSelectoinToPCF public void OutputAssemblyPCFs ( List < ElementId > selectedElementIds , Document theDocument ) { ...

REvit Dynamo Python PY.TextNote+View+GUID.PY

# Simplified version by Ron.Allen to just text in views - Apsis0215@gmail.com 2019-01-02 # Deduced from from Konrad K Sobon @arch_laboratory, http://archi-lab.net Get function 2015 # Derived from Jeremy Tammick's bip function work in C# import clr # Import Element wrapper extension methods clr . AddReference ( "RevitNodes" ) import Revit clr . ImportExtensions ( Revit . Elements ) # Import RevitAPI clr . AddReference ( "RevitAPI" ) import Autodesk from Autodesk . Revit . DB import * import System ##IN[0] for elements if isinstance ( IN [ 0 ], list ): objList = [] for i in IN [ 0 ]: objList . append ( UnwrapElement ( i )) else : objList = IN [ 0 ] elements = [] for i in objList : elements . append ( UnwrapElement ( i )) ##Export values of objects - the TEXT_TEXT built in parameter is the VALUE of the instance of text. OUT =[] for obj in objList : ## SNUM = "...