forked from jeremytammik/the_building_coder_samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BcSamples.txt
1275 lines (1119 loc) · 40.3 KB
/
BcSamples.txt
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#
# BcSamples.txt - The Building Coder sample applications RvtSamples include file
#
# Copyright (C) 2008-2019 by Jeremy Tammik, Autodesk Inc. All Rights Reserved.
#
# History:
#
# 2008-10-05 initial version
# 2009-05-20 ported to Revit 2010
# 2010-03-22 started porting to Revit 2011
# 2010-03-26 completed draft version for Revit 2011
# 2011-04-14 initiated migration from Revit 2011 to Revit 2012
# 2012-04-17 initial migration from Revit 2012 to Revit 2013
# 2013-04-17 initial migration from Revit 2013 to Revit 2014
# 2013-10-14 added MIT license and published on GitHub
# 2014-04-14 migrated to Revit 2015
# 2014-05-14 split the items into three sections instead of two: A-M 60, N-Z 52 --> A-I, J-Q, R-Z
# 2015-05-20 migrated to Revit 2016
# 2016-05-02 migrated to Revit 2017
# 2016-07-07 moved to new location on new machine
# 2019-09-18 moved to new location on new machine
#
# This file is read by the Revit external application RvtSamples,
# which is included in the standard Revit SDK.
#
# To achieve this, add an #include statement similar to the following
# line enclosed in quotes (removing the quotes first!) to the end of
# the file RvtSamples.txt included in the RvtSamples SDK sample:
#
# '#include C:/a/j/adn/train/revit/2011/src/bc/BcSamples.txt'
#
# The entries for the standard Revit SDK samples are defined
# separately in RvtSamples.txt.
#
# This file defines additional entries for the sample applications
# discussed in The Building Coder blog at
#
# http://thebuildingcoder.typepad.com/blog
#
# In the Revit 2009 menu system, the top level menu title was "ADN",
# and the samples were added to the submenu
#
# ADN
# Bc
#
# From Revit 2010 onwards, the generated menu hierarchy is translated
# into pull down buttons in the RvtSamples panel generated in the
# ribbon Add-Ins tab.
#
# In Revit 2011, the number of samples grew so large that I had to split up
# the menu into two separate ones labeled A-M and N-Z, respectively.
#
#
#
# /ADN/Bc/
#
ADN Bc J-Q
List Walls
List wall lengths and areas
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdListWalls
ADN Bc R-Z
Wall Dimensions
Extract wall solid and list all its dimensions
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdWallDimensions
ADN Bc R-Z
Relationship Inverter
Determine opening > wall host relationships and invert them to wall > opening
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdRelationshipInverter
#ADN Bc A-I
#Filter Performance
#Compare Type Filter versus using an anonymous method to filter elements
#LargeImage:
#Image:
#Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
#BuildingCoder.CmdFilterPerformance
ADN Bc A-I
Element Materials
Retrieve building element materials
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdGetMaterials
ADN Bc A-I
Azimuth
Calculate azimuth
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdAzimuth
ADN Bc A-I
Bounding Box
Retrieve Element Bounding Box
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdBoundingBox
ADN Bc R-Z
Slab Boundaries
Determine polygonal floor slab boundary loops
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdSlabBoundary
ADN Bc R-Z
Slab Sides
Determine floor slab side faces
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdSlabSides
ADN Bc A-I
Edit Floor
Generate a new floor element from the curve array of an existing one
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdEditFloor
ADN Bc R-Z
Wall Layers
List and determine position of all wall compound layers
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdWallLayers
ADN Bc R-Z
Wall Profile
Determine wall elevation profile boundary loop polygons
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdWallProfile
ADN Bc R-Z
Wall Neighbours
Determine wall neighbours, i.e. wall joined at end points
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdWallNeighbours
ADN Bc A-I
Floor Boundary Polygon Areas
Determine floor slab boundary loop polygon areas
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdSlabBoundaryArea
ADN Bc R-Z
Wall Profile Polygon Areas
Determine wall elevation profile boundary loop polygon areas
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdWallProfileArea
ADN Bc J-Q
Linked Files
Determine linked files and their full path
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdLinkedFiles
ADN Bc J-Q
List Views
Determine all all the view ports of a drawing sheet and vice versa
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdListViews
ADN Bc J-Q
Plan Topology
List plan topology and its rooms and circuits with no rooms
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdPlanTopology
ADN Bc R-Z
Room Wall Adjacency
Determine part of wall face area that bounds a room
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdRoomWallAdjacency
ADN Bc R-Z
Wall Layer Volumes
Calculate compound wall layer volumes
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdWallLayerVolumes
ADN Bc R-Z
Window Handle
Determine Revit window handle and display a modeless form
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdWindowHandle
ADN Bc R-Z
Sloped Wall
Create a sloped wall
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdSlopedWall
ADN Bc J-Q
New Column Type and Instance
Create a new column type and insert an instance of it
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewColumnTypeInstance
ADN Bc J-Q
New Beam Type and Instance
Create a new beam type and insert an instance of it
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewBeamTypeInstance
ADN Bc J-Q
List Railing Types
List all railing and stair types
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdListRailingTypes
ADN Bc J-Q
Cannot Create Railing Instance
Cannot create a new railing instance
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewRailing
ADN Bc J-Q
Linked File Elements
List elements in linked files
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdLinkedFileElements
ADN Bc R-Z
Transformed Coordinates
Determine transformed vertex coordinates for family instance symbol geometry
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdTransformedCoords
ADN Bc A-I
Cylindrical Column
Determine whether column is round
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdColumnRound
ADN Bc J-Q
New Area
Create a new area element
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewArea
ADN Bc J-Q
Nested Instance Geometry
Determine nested instance geometry and structure
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNestedInstanceGeo
ADN Bc A-I
Imports in Families
List all imported symbols in all families in project
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdImportsInFamilies
ADN Bc R-Z
Wall Footing
Determine wall footing from selected wall
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdWallFooting
ADN Bc J-Q
New Wall Layer
Create a new wall type with a new compound structure layer
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewWallLayer
ADN Bc A-I
Create Shared Parameters
Create shared parameters for Doors, Walls, inserted DWG, Model Groups and Model Lines
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCreateSharedParams
ADN Bc R-Z
Space Adjacency
Analyse and report space adjacencies
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdSpaceAdjacency
ADN Bc J-Q
Mirror Elements
Mirror selected elements
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdMirror # version 1.0.1.39
ADN Bc J-Q
Mirror List Added
Mirror selected elements and list the resulting new elements added to the database
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdMirrorListAdded # version 1.0.1.40
ADN Bc J-Q
New Line Loads
Create a new structural line load elements
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewLineLoad # version 1.0.1.41
ADN Bc R-Z
Rotated Beam Location
Determine rotated beam location
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdRotatedBeamLocation # version 1.0.1.42
ADN Bc J-Q
New Lighting Fixture
Insert a new lighting fixture family instance
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewLightingFixture # version 1.0.1.43
ADN Bc R-Z
Wall Bottom Face
Determine the bottom face of a wall
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdWallBottomFace # version 1.0.1.44
ADN Bc J-Q
Library Paths
List existing and update application options library paths
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdLibraryPaths # version 1.0.1.45
ADN Bc A-I
Detail Curves
Create detail curves, an arc and a line
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdDetailCurves # version 1.0.1.46
ADN Bc J-Q
List Marks
List all door marks
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdListMarks # version 1.0.1.47
ADN Bc A-I
Install Location
Determine Revit product install location
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdInstallLocation # version 1.0.1.48
ADN Bc A-I
Disallow Join
Allow or disallow join at wall ends
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdDisallowJoin # version 1.0.1.49
ADN Bc R-Z
Unrotate North
Transform element location back to original coordinates to cancel effect of rotating project north
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdUnrotateNorth # version 1.0.1.50
ADN Bc A-I
Coords Of View On Sheet
Retrieve coordinates of view on sheet
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCoordsOfViewOnSheet # version 1.0.1.51
ADN Bc J-Q
List Shared Parameters
List all shared parameters defined in document and saved on wall instances
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdListSharedParams # version 1.0.1.52
ADN Bc A-I
Family Parameter Values
List family parameter values defined on the types in a family document
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdFamilyParamValue # version 1.0.1.53
ADN Bc R-Z
Set Room Occupancy
Set room occupancy via built-in parameter ROOM_OCCUPANCY
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdSetRoomOccupancy # version 1.0.1.54
ADN Bc J-Q
New Project Document
Create a new project document
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewProjectDoc # version 1.0.1.55
ADN Bc A-I
Crop 3D View to Room
Set 3D view crop box to room extents
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCropToRoom # version 1.0.1.56
ADN Bc J-Q
LandXML Import
Import LandXML data and create TopographySurface
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdLandXml # version 1.0.1.57
ADN Bc R-Z
Rectangular Duct Corners
Determine the corners of a rectangular duct
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdRectDuctCorners # version 1.0.1.58
ADN Bc J-Q
New Sprinkler
Insert a new sprinkler family instance
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewSprinkler # version 1.0.1.59
ADN Bc J-Q
New Spot Elevation on Beam
Insert a new spot elevation on top surface of beam
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewSpotElevation # version 1.0.1.60
ADN Bc J-Q
New Dimension Label
Create a new dimension label in a family document
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewDimensionLabel # version 1.0.1.61
ADN Bc A-I
Elliptical Arc
Create a new elliptical arc geometry object with a given start and end angle
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdEllipticalArc # version 1.0.1.62
ADN Bc J-Q
Nested Families
List nested family files and instances in a family document
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNestedFamilies # version 1.0.1.63
ADN Bc J-Q
New Swept Blend
Create a new swept blend element
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewSweptBlend # version 1.0.1.64
#
# last Revit 2010 API version before migration: # version 1.0.1.65
# ported to Revit 2011 API: # version 2011.0.0.62
#
ADN Bc A-I
Collector Performance
Benchmark Revit 2011 API collector performance
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCollectorPerformance # version 2011.0.0.63
ADN Bc J-Q
Preprocess Failure
Suppress warning message by implementing the IFailuresPreprocessor interface
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdPreprocessFailure # version 2011.0.0.64
ADN Bc A-I
Idling
Subscribe to the Idling event
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdIdling # version 2011.0.0.65
ADN Bc J-Q
Preview Image
Display the element type preview image of all family instances
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdPreviewImage # version 2011.0.66.0
ADN Bc A-I
Categories
List document and built-in categories
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCategories # version 2011.0.67.0
ADN Bc R-Z
Sheet Size
List title block element types and title block and view sheet instances and sizes
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdSheetSize # version 2011.0.68.0
ADN Bc A-I
Curtain Wall Geometry
Retrieve curtain wall geometry
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCurtainWallGeom # version 2011.0.69.0
ADN Bc A-I
Duplicate Elements
Duplicate selected elements
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdDuplicateElements # version 2011.0.70.0
ADN Bc J-Q
New Duct System
Create a new duct system via the NewMechanicalSystem API call
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewDuctSystem # version 2011.0.71.0
ADN Bc R-Z
Sheet Data Export
Export sheet data to XML file
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdSheetData # version 2011.0.72.0
ADN Bc R-Z
Set Tag Type
Create a wall, door, door tag, then create and set a new door tag type
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdSetTagType # version 2011.0.73.0
ADN Bc R-Z
Place Family Instance
Call PromptForFamilyInstancePlacement to place family instances and use the DocumentChanged event to capture the newly added element ids
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdPlaceFamilyInstance # version 2011.0.74.0
ADN Bc J-Q
Part Atom
Extract part atom from family file
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdPartAtom # version 2011.0.75.0
ADN Bc A-I
Close Document
Close active document by sending Windows message
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCloseDocument # version 2011.0.76.0
ADN Bc R-Z
Update Referencing Sheet
Update 'Referencing Sheet' parameter value displayed in section view header
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdUpdateReferencingSheet # version 2011.0.77.0
ADN Bc J-Q
New Blend
Create a new blend using the NewBlend method
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewBlend # version 2011.0.78.0
ADN Bc J-Q
Purge TextNote Types
Delete all unused TextNote types
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdPurgeTextNoteTypes # version 2011.0.79.0
ADN Bc J-Q
Press Keys to Launch Command
Press keys to launch 'Create Similar' and other Revit commands
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdPressKeys # version 2011.0.80.0
ADN Bc A-I
Get Sketch Elements
Retrieve sketch elements for a selected wall, floor, roof, filled region, etc.
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdGetSketchElements # version 2011.0.81.0
ADN Bc A-I
Family Parameter Guid
Determine family parameter IsShared and GUID properties using System.Reflection
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdFamilyParamGuid # version 2011.0.82.0
ADN Bc R-Z
Status Bar Text
Set the status bar text using Windows API
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdStatusBar # version 2011.0.83.0
ADN Bc A-I
Analytical Model Geometry
Retrieve analytical model geometry
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdAnalyticalModelGeom # version 2011.0.84.0
ADN Bc A-I
Dimension Two Walls Iterating Faces
Create dimensioning elements between opposing walls by iterating over their faces
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdDimensionWallsIterateFaces # version 2011.0.85.0
ADN Bc A-I
Dimension Two Walls Finding References
Create dimensioning elements between opposing walls by using FindReferencesByDirection
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdDimensionWallsFindRefs # version 2011.0.86.0
ADN Bc J-Q
MEP Element Shape
Determine element shape, i.e. MEP element cross section
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdMepElementShape # version 2011.0.87.0
ADN Bc A-I
Create Gable Wall
Create gable wall specifying non-rectangular wall profile
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCreateGableWall # version 2012.0.88.0
ADN Bc R-Z
Wall Top Faces
Retrieve top faces of selected or all wall
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdWallTopFaces # version 2012.0.89.0
ADN Bc R-Z
Steel Stair Beams
Create a series of connected mitered steel beams for a steel stair
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdSteelStairBeams # version 2012.0.90.0
ADN Bc A-I
Copy Wall Type
Duplicate a system type from on project to another to partially transfer project standards
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCopyWallType # version 2012.0.91.0
ADN Bc A-I
FilledRegion Coordinates
Retrieve FilledRegion coordinates
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdFilledRegionCoords # version 2012.0.92.0
ADN Bc A-I
Change Linked File Path
Change linked RVT file path
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdChangeLinkedFilePath # version 2012.0.93.0
ADN Bc J-Q
List Room Data
List properties from all rooms
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdListAllRooms # version 2012.0.94.0
ADN Bc J-Q
Pick Point in 3D
Set active work plane to pick a point in 3d
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdPickPoint3d # version 2012.0.95.0
ADN Bc J-Q
Parameter Unit Converter
Test ParameterUnitConverter on all floating point valued parameters on a selected element
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdParameterUnitConverter # version 2012.0.96.0
# version 2012.0.96.2 added IsTopPlanarFace and IsTopFace predicates in CmdWallTopFaces.cs
# version 2012.0.96.3 cleaned up deprecated methods in CmdGetMaterials.cs
ADN Bc R-Z
Remove Imported Images
Remove imported JPG image files
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdRemoveImportedJpgs # version 2012.0.97.0
ADN Bc R-Z
Remove DWF Links
Remove DWF links
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdRemoveDwfLinks # version 2012.0.98.0
ADN Bc A-I
Elevation Watcher DocumentChanged
React to elevation view creation subscribing to DocumentChanged event
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdElevationWatcher # version 2013.0.99.0
ADN Bc A-I
Elevation Watcher Updater
React to elevation view creation using DMU updater
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdElevationWatcherUpdater # version 2013.0.99.0
ADN Bc A-I
Demo Version Check
Check whether the running Revit application is a demo version
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdDemoCheck # version 2013.0.100.0
ADN Bc J-Q
MidCurve
Create a series of model line segments between two curve elements
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdMidCurve # version 2014.0.101.0
ADN Bc A-I
Export Image
Export a preview JPG 3D image of the family or project
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdExportImage # version 2014.0.102.0
ADN Bc R-Z
Room Neighbours
Determine neighbouring room at midpoint of each room boundary segment
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdRoomNeighbours # version 2014.0.103.0
ADN Bc A-I
Export Solid to SAT
Create a solid in memory and export it to a SAT file
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdExportSolidToSat # version 2014.0.104.0
ADN Bc A-I
Display Unit Type Abbreviation
Test the display unit type abbreviation array
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdDutAbbreviation # version 2014.0.105.0
ADN Bc R-Z
Rolling Offset
Calculate a rolling offset pipe between two selected pipe segments
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdRollingOffset # version 2014.0.106.0
ADN Bc A-I
Delete Unused Reference Planes
Delete unnamed non-hosting reference planes
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdDeleteUnusedRefPlanes # version 2014.0.107.0
ADN Bc A-I
Create Sloped Floor
Create Sloped Floor
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCreateSlopedSlab # version 2014.0.108.0
ADN Bc A-I
Category Supports Type Parameter
Boolean predicate to determine whether a given category supports type parameter
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdCategorySupportsTypeParameter # version 2014.0.109.0
ADN Bc R-Z
Views Showing Elements
Determine all views displaying a given set of elements
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdViewsShowingElements # version 2015.0.110.0
ADN Bc A-I
Document Version
List DocumentVersion data, i.e. document GUID and save count
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdDocumentVersion # version 2015.0.111.0
ADN Bc J-Q
New Extrusion Roof
Create a strangely stair shaped new extrusion roof
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewExtrusionRoof # version 2015.0.112.0
ADN Bc A-I
FaceWall Create
Demonstrate FaceWall.Create - create and insert a conceptual mass family instance, then create sloped walls on all its faces
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdFaceWall # version 2015.0.113.0
ADN Bc J-Q
New Text Note Width
Create a new text note and determine its exact width
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewTextNote # version 2015.0.114.0
ADN Bc J-Q
New Cross Fitting
Create a new pipe cross fitting
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdNewCrossFitting # version 2015.0.115.0
ADN Bc A-I
Dimension Family Instance Origin
Create dimensioning between the origins of family instances
LargeImage:
Image:
Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder\bin\Debug\BuildingCoder.dll
BuildingCoder.CmdDimensionInstanceOrigin # version 2015.0.116.0