You are on page 1of 49

BIMRevit

Revit Dynamo
Orval Tien
Orval.Tien@autodesk.com

Autodesk Taiwan
Revit Dynamo

1.

2. Excel

3. 1

4. 2


Revit
()()
Revit
Revit ()

API Object

Element

Family Base ElementType Group Instance HostObject

Family Group Type HostObject Insertable Insertable Wall


Attributes Object Instance
Floor
Family Symbol
Family
(Family Type) Instance Clg. & Flr

Cont.
Wall Type Floor Type Cont. Footing Footing
Type
RoofBase
Revit
Revit ()

Host Element Family Element



Category


M_Single_Flush.rfa
Family

176
Generic 200mm 0915 x 2134mm
Family Type 67




Instance

Revit
Revit
Host Element Family Element



Category


M_Single_Flush.rfa
Family

Element Type Family Type



Type Generic 200mm 0915 x 2134mm




Instance


Element.GetParameterValueByName
Family Type
FamilyType.FamilyFamily

Element.GetParameterValueByName
Element Type

Element.SetParameterByName


Excel
Excel
Excel
ExcelRevit

Excel
3.ExcelRevit

1.

2.RevitExcel

Excel

Excel 1.
Element IDID
Element ID

Excel
Excel
Excel 2.Revit
Element ID
Excel
ID
1.
2.Sheet
(List.Combine)
3.
4.
Element ID 5.
*Lacing 6.

ID

ID

ID

ID
ID ID







ID







ID






Excel 3.Revit

Excel
1.
2.Sheet
3.

ID



Element.SetParameterByName

1.
2.

3.

*Python Script

ID

*List.Map
Excel 1.Lacing

1. Shortest Lacing()
a b c d

1 2 3
2. Longest Lacing()
a b c d

1 2 3
1. Cross Product Lacing()
a b c d 1 2 3

1 2 3 a b c d
Excel 1.Lacing
(String.Joinseparator)

1. List.LaceSortest

2. List.LaceLongest

3. List.CartesianProduct

4. List.Combine

Excel 2.List@Level
()

1.
Excel 2.List@Level
2. List.MapList@@Level()List.Transpose
(C#foreach)

List[0]


List[n]

List[n,0]
Excel 2.List@Level
3. List.CombineList@LevelList.Transpose
(C#foreach)

Excel 2.List@Level 1
List[n]

4. List.MapList@@Level
List[n]
List[n,n]
1

List[n,0]
List[n,n,0]

List[n]
A List[0]
1
1
1 List[n,n]
2

2 List[n,n,n]
1

2
List[n,n,n,0]
B


A 1
Excel 2.List@Level
4. List.MapList@@Level

List@@Level ()
List.Map
Excel 2.List@Level
5. List@Level List@@Level

List@@Level () List@Level
List.Map List.Flatten List.Map
Excel 2.List@Level
6.
List.MapList@@LevelList.CartesianProduct


List[n]

10
List[n,n]
10
List[n,n,n] 20
30
102070 10 40
10
List[n,n,n,n] 20 50
20 70 60
10 70

20 80
List[n,n,n,n,n]
30 70
10
20
70
Excel 3.Python Script
Dynamo
1. ()
2.
1. Design ScriptCode Block
2. Python ScriptDynamo
3. .Net (Zero Touch Plugin)
3.

4. Python Script

1
1
2
3
Excel 3.Python Script
Python ScriptDynamo
Revit APIDynamo
Element.SetParameterByName
(List.OfRepeatedItem)(List.Transpose)(Flatten)
List.CombineElement.SetParameterByName

1



3.Excel 5.Excel
1.
Excel

2. 4.

1.
Excel(Dynamo)
Excel
Dynamo

2.
(Intersect)
ID



2. 3.Excel

Excel

Dynamo



()


*




100

true
()
4. 5.


Excel
1.BoundingBox



1.BoundingBox

1. Geometry.Intersect 2. BoundingBox.Intersection

3. BoundingBox. Intersects

4. BoundingBox.Contains

5. BoundingBox.MaxPointMinPoint


2 ()


1.
2.
3.


1.
2.

1 2

1 2

4. 5.
1.

3.
2.

1. 2.



3. 4.



(0%~100%)





5.


Dynamo
Dynamo
http://dynamobim.org/
Dynamo
Dynamo
https://dynamopackages.com/
DynamoDynamo
Dynamo
http://dynamobim.org/a-world-of-user-groups/
Dynamo
Dynamo
Facebook Dynamo User Group - Taiwan
DynamoAutodesk
Dynamo
Facebook Orval Study Dynamo

Autodesk is a registered trademark of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this
document. 2015 Autodesk, Inc. All rights reserved.

You might also like