CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3140 

CAD tip CAD tip # 12629:

Question CAD 
 %  platform  category 
Q - question

As sunflowers follow the Sun... Dynamo script for Revit

A - answer Pomocí jednoduchého skriptu v Dynamu můžete hromadně otáčet vybrané rodiny v projektu Revitu. Příklad vložené skupiny rodin solárních panelů typu "slunečnice" Using a simple Dynamo script, you can rotate selected families in a Revit project. An example of a group of "sunflower" solar panel families (you can download the RFA family here) - create a new Dynamo script by inserting only 3 nodes (look-up them by name): "Select Model Elements", "Number Slider" and "FamilyInstance.SetRotation". The resulting final .dyn script can be downloaded from www.cadstudio.cz/download.

Connect the nodes as shown in the video, choose Automatic running of the script after you select the families (e.g. these solar panels), you can adjust their mass rotation using the slider:

RevitDynamo
100% *  CAD 
2.6.2020    508×  
Prices - CAD eShop:
applies to: Revit · Dynamo ·

See also:
Tip 12609:Dynamo - how to convert a raster photo to 3D model in Revit?
Tip 11634:Which CAD/BIM products are supported by the visual programming tool Dynamo?
Tip 11350:How to renumber Revit rooms in a given order?
Tip 11182:Can I use two versions of Dynamo on the same PC?
Tip 11181:Suddenly cannot run Dynamo in Advance Steel.


Back   All CAD Tips All CAD tips&tricks



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist