Professional Documents
Culture Documents
Macro Samples Readme
Macro Samples Readme
1. Revit_Macro_Samples.rvt
Revit_Macro_Samples.rvt can be opened by Revit Architecture, Revit Structure, Revit MEP and Revit. There are simples and common document-level macro samples included ( ! "# sample macros and ! $%.&et sample macros'.
Figure 1: Revit_Macro_Samples.rvt
1.1.C# Samples:
Sample Type
Simple Samples
Notes
Common Samples
Create&eamsColumns&races 'ridCreation $nplaceFamilyAnalytical(odel) Rooms Revit Structure only *ot availa"le %or Revit
Others
Common Samples
Create&eamsColumns&races esi+n!ptionReader $nplaceFamilyAnalytical(odel) (aterialProperties RotateFramin+!"#ects Sla"Properties Structural,ayerFunction TestWallT-ickness Revit Structure only
2. Revit_Macro_M"#_Samples.rvt
Please open this (ile in Revit MEP. There are only t)o document-level macros (one "# sample macro and one $%.&et sample macro'.
*.
Revit_Macro_Famil%_Samples.r&a
Revit_Macro_+amily_Samples.rvt can be opened by Revit Architecture, Revit Structure and Revit MEP. There are several document-level (amily samples included (! "# sample macros and ! $%.&et sample macros'. Sample Type
Family Samples
Others
$. Fol(er )*etTime"lapse(_CS+arp,
This is a "# application-level module, it contains a macro named -.etTimeElapsedSince/astSave. This sample demonstrates a possible situation o( application-level macros to monitor the Revit session (or certain events, such as document savin0. Please copy this (older into
XP OS: %ALLUSERSPROFILE%1Application 2ata1Autodes31Revit1Macros145 *1
6Architecture7MEP7Structure7Revit81$staMacros1App oo!"p Vista an# $in#o$s%: %ALLUSERSPROFILE%\Autodesk\Revit\Macros\2013\ 6Architecture7MEP7Structure7Revit81$staMacros1App oo!"p And then run it in macro mana0er dialo0 bo9.
-. Fol(er )Rooms,
This is a "# application-level module. :t includes -.etAllRooms:n(ormation; macro. <ou can copy this (older into application-level
6Architecture7MEP7Structure7Revit81$staMacros1App oo!"p Vista an# $in#o$s%: %ALLUSERSPROFILE%\Autodesk\Revit\Macros\2013\ 6Architecture7MEP7Structure7Revit81$staMacros1App oo!"p And then run it in macro mana0er dialo0 bo9.
version
o(
the
-Rooms;
macro
is
contained
in