Overview: What the SelfModificafion Macro is?
The macro lets you add self-modification functionality to ArchiCAD standard library parts. With a call to the macro, any library part can modify its parameters according to an Excel spreadsheet XML file. Each row in the file defines a library part, which parameters will be modified, and a new value for each parameter, which you want to modify.
You can adopt the macro for modification of any parameters (if the modification is supported by GDL). But the main goal of the macro is improving interactive scheduling.
Interactive schedules can include a lot of information from library parts, but it is not easy to manage the information. This macro can help you solve the problem.
At first, you can update all library parts with consistent information about cost, manufacturer, product numbers, etc. After that update, you can use the information in interactive schedules.
In addition to that, you can do calculations in Excel and save results in some parameters of library parts. For example, you can calculate general cost and weight for each type of doors, which you use in your project, and load these values as a string with appropriate unit into “User Defined #” parameters of each library part. After that you can use these parameters for displaying this information in your interactive schedules. I don’t think it is a very good idea, as you have to remember to modify your Excel spreadsheet after inserting/excluding any door in your project, but you can find it useful in some way.
In the best scenario, you have a rather permanent range of real object, which you use in your projects (doors, windows, furniture, etc.). In this way you can create an Excel file, which will define all real-word parameters of these objects, which you need in your schedules. After that you need only place the file into a library folder of your particular project and place names/IDs of library objects in rows of the real-world object, which they relate to.