-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.json
More file actions
115 lines (114 loc) · 3.6 KB
/
test.json
File metadata and controls
115 lines (114 loc) · 3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"Workset Rules":
[
{
"Categories": ["Rooms", "Furniture"],
"Workset": "Level 1 - Roooms and Furniture",
"Parameters":
[
{"Name": "Level", "Value": "Level 1"},
{"Name": "Auto Assign Workset", "Value": "1"}
]
},
{
"Categories": ["Walls"],
"Workset": "Level 1 Walls and Doors",
"Parameters":
[
{"Name": "Base Constraint", "Value": "Level 1"},
{"Name": "Auto Assign Workset", "Value": "1"}
]
},
{
"Categories": ["Doors"],
"Workset": "Level 1 Walls and Doors",
"Parameters":
[
{"Name": "Level", "Value": "Level 1"},
{"Name": "Auto Assign Workset", "Value": "1"}
]
}
],
"Parameter Rules":
[
{
"Rule Name": "Set Wall Type Function",
"Element Classes": [
"Autodesk.Revit.DB.WallType"
],
"Parameter Name": "Type Name",
"Format": "{HOK Partition Series}_{HOK Wall Structure}_{Fire Rating}_{HOK Wall Sheathing}_{HOK Wall Description}",
"User Message": "Type name does not match required format"
},
{
"Rule Name": "Set Room Style",
"Categories": ["Rooms"],
"Parameter Name": "Room Style",
"Driven Parameters": ["Wall Finish", "Floor Finish", "Ceiling Finish"],
"Key Values": [
["A", "Wall A", "Floor A", "Ceiling A"],
["B", "Wall B", "Floor B", "Ceiling B"],
["C", "Wall C", "Floor C", "Ceiling C"]
]
},
{
"Rule Name": "Set Room Occupant",
"Categories": ["Rooms"],
"Parameter Name": "Occupant",
"Driven Parameters": ["OccupantLoadFactor","Occupant_General", "Occupant_Specific_Use"],
"Key Values": [
["Assembly_Excercise_with_Equip_TX_21", "50", "Assembly", "Excercise with Equipment"],
["Assembly_Waiting_TX_21", "5", "Assembly", "Waiting"],
["Business_TX_21", "50", "Business", ""],
["Storage_TX_21", "40", "Storage", ""],
["Assembly_Excercise_without_Equip_TX_21", "15", "Assembly", "Excercise without Equipment"],
]
},
{
"Rule Name": "Room Occupannt Load Calculation",
"Categories": ["Rooms"],
"Parameter Name": "OccupantLoad",
"Formula": "{Area}/{OccupantLoadFactor}"
},
{
"Rule Name": "In Place Family Quantity",
"Element Classes": [
"Autodesk.Revit.DB.FamilyInstance"
],
"Custom Code": "InPlaceFamilyCheck",
"User Message": "There are too many In-Place Families in the model."
},
{
"Rule Name": "Set Quadrant",
"Element Classes": [
"Autodesk.Revit.DB.FamilyInstance"
],
"Custom Code": "SetQuadrant"
},
{
"Rule Name": "Hello World",
"Element Classes": [
"Autodesk.Revit.DB.FamilyInstance"
],
"Custom Code": "HelloWorld"
},
{
"Rule Name": "Host Fire Rating",
"Categories": [
"Doors", "Windows"
],
"Parameter Name": "HostFireRating",
"From Host Instance": "FireRating",
"User Message": "Fire Rating Must Match Host"
},
{
"Rule Name": "Room Number Dup",
"Categories": [
"Rooms"
],
"User Message": "Room Number cannot duplicate an existing value",
"Parameter Name": "Number",
"Prevent Duplicates": "True"
}
]
}