Hi,
I have decided to start publishing a few posts on Building Performance Analysis (BPA) workflows on Dynamo. I will have a few posts on Optimization using Optimo as well. Optimo is a multi-objective optimization tool that enables Dynamo users to optimize problems with single and multiple objectives using evolutionary algorithms.
Dynamo "Daylighting Workflow" will be up soon.
Wednesday, December 24, 2014
Sunday, June 9, 2013
Project Chronicle
In this post I am introducing a new cool tool from Autodesk Labs "Project Chronicle".
"Project Chronicle is a free technology preview from Autodesk Research that makes it extremely convenient and easy for users to capture, share, and learn from software workflows. Project Chronicle consists of a recording utility to capture recordings, and a website that displays the recordings as Chronicles, interactive video tutorials. The videos can be shared publicly or set to private, so that they can be used as internal training materials for a private office or classroom." (Project Chronicle Page)
The tool is free (Download here) and it is integrated with Revit and Autocad. I have created a sample video using this tool to show how it works.
Here are the steps to make this video:
1- Run Chronicle and choose the application that you want to screen record. As it is mentioned before, Chronicle is integrated with Autocad and Revit to track the user clicks and create a table of content automatically.
2- Record your video. When you finish the recording part, Chronicle opens a new window where you can edit your recording. In the current version you can only delete the parts that you do not want in your video.
"Project Chronicle is a free technology preview from Autodesk Research that makes it extremely convenient and easy for users to capture, share, and learn from software workflows. Project Chronicle consists of a recording utility to capture recordings, and a website that displays the recordings as Chronicles, interactive video tutorials. The videos can be shared publicly or set to private, so that they can be used as internal training materials for a private office or classroom." (Project Chronicle Page)
The tool is free (Download here) and it is integrated with Revit and Autocad. I have created a sample video using this tool to show how it works.
Here are the steps to make this video:
1- Run Chronicle and choose the application that you want to screen record. As it is mentioned before, Chronicle is integrated with Autocad and Revit to track the user clicks and create a table of content automatically.
3- Save and upload your video.
4- Go to Chronicle website and log in with your user name and password and change the privacy of the video to publish it.
5- You can embede your video in your blog or website by copying the html code using "embed" button bellow your video after you publish your video. Here is the sample video that I made to test:
Friday, February 15, 2013
Revit 2013 gbXML Export to Ecotect Problem
I have tried to export gbXML file fro Revit and open it in Ecotect, DDS-CAD Viewer and I received errors saying that it cannot be opened. Here is the error that I have received in Ecotect:
!!!!!!!!!
"Warning: IFC support is only at beta stage in this release. Whilst detailed geometry should import, ifcSpace data and complex curves may not transform correctly."
!!!!!!!!!
Since Ecotect reads UTF-8 and Revit 2013 exports in UTF-16 format, Ecotect throws this exeption about icf.
How to solve this problem: Open your xml file with Notepad. In the file menu, Encoding change it to UTF-8 and then save your file. The following image shows this process.
Hope it works for you too.
!!!!!!!!!
"Warning: IFC support is only at beta stage in this release. Whilst detailed geometry should import, ifcSpace data and complex curves may not transform correctly."
!!!!!!!!!
Since Ecotect reads UTF-8 and Revit 2013 exports in UTF-16 format, Ecotect throws this exeption about icf.
How to solve this problem: Open your xml file with Notepad. In the file menu, Encoding change it to UTF-8 and then save your file. The following image shows this process.
Hope it works for you too.
Thursday, November 15, 2012
Revit API Programming Templates 5
There are 2 more templates that I am going to talk about in this post. These templates are created based on your questions to help you to finish your projects.
1- The first template is about using Windows Form Application and retrieving data from Revit, then changing the data, and apply it to Revit project. When you run this template the form fills up with the current number of parameters inside Revit. This template has two separate classes. the first one uses a simple form to get a door width and then shows it in the form. The user can see the current value and then he can change it inside the form. The second class does the same thin, but it shows you how to access energy settings of a Revit Project.
2- The second template shows how you can make an add-in ribbon panel inside Revit. In order to get familiar with the process you can visit Autodesk Revit API Wiki and learn the process. I have made some changes to this process to make it more manageable.
In order to run the template, you have to add addin file to your computers addin folder. Please read the Autodesk wiki mentioned above for details. Then when you open Revit, it asks you to select a dll file. Go to "add in dll file" inside the template provided, and select the dll file. Then it will asks you to select a logo for your panel. If you have a logo please find it and select it. Otherwise, it will use an online logo of Revit for your panel. Then you will have your customized revit button in the project.
Please let me know if you have any questions.
1- The first template is about using Windows Form Application and retrieving data from Revit, then changing the data, and apply it to Revit project. When you run this template the form fills up with the current number of parameters inside Revit. This template has two separate classes. the first one uses a simple form to get a door width and then shows it in the form. The user can see the current value and then he can change it inside the form. The second class does the same thin, but it shows you how to access energy settings of a Revit Project.
2- The second template shows how you can make an add-in ribbon panel inside Revit. In order to get familiar with the process you can visit Autodesk Revit API Wiki and learn the process. I have made some changes to this process to make it more manageable.
In order to run the template, you have to add addin file to your computers addin folder. Please read the Autodesk wiki mentioned above for details. Then when you open Revit, it asks you to select a dll file. Go to "add in dll file" inside the template provided, and select the dll file. Then it will asks you to select a logo for your panel. If you have a logo please find it and select it. Otherwise, it will use an online logo of Revit for your panel. Then you will have your customized revit button in the project.
Please let me know if you have any questions.
Tuesday, November 13, 2012
Revit API Programming Templates 4
In this post I am adding a new template to our archive. This template is Windows Form Application templates which enables you to get user input for your API program. Sometimes in your Revit application you need to get user's input to achieve your goal. Designing windows from application is the most common approach to get the user input.
In order to add a windows form to your project, in Visual Studio right click on the your project in Solution Explorer. Then Add, Windows Form. Now you will have a class of Windows Form added to your project. You can right click on the Form1 and access to the background cod of the Form1 Design. You need to add some lines of code to your project which you can ind in the uploaded template.
In order to add a windows form to your project, in Visual Studio right click on the your project in Solution Explorer. Then Add, Windows Form. Now you will have a class of Windows Form added to your project. You can right click on the Form1 and access to the background cod of the Form1 Design. You need to add some lines of code to your project which you can ind in the uploaded template.
Thursday, November 1, 2012
Revit API Programming Templates 3
This provides a Revit API programming template for using external data. This template (ExternalDataFromExcel) provides a class as an example on creating an excel file from scratch and fill it with the information from your Revit project and change the format and style of cells inside the worksheet.
The Second class in this template, provides you an example of reading an existing excel file and use the values of each cell in Revit project.
The third class, is the same as the second class. In this class, we use the data from excel file and change the type parameters of a window selected by user in Revit project. In this class the user is asked to select a window and then the code gets the type parameters of that window. Then the code reads data from excel file and changes the window type parameters respectively. This class would be a good start for those who want to update their model in Revit using external data from excel.
The Second class in this template, provides you an example of reading an existing excel file and use the values of each cell in Revit project.
The third class, is the same as the second class. In this class, we use the data from excel file and change the type parameters of a window selected by user in Revit project. In this class the user is asked to select a window and then the code gets the type parameters of that window. Then the code reads data from excel file and changes the window type parameters respectively. This class would be a good start for those who want to update their model in Revit using external data from excel.
Tuesday, October 30, 2012
Revit API Programming Templates 2
In this post I am adding two more Revit API programming Templates to our database for Revit API. I hope that this templates help you to be able to do a good job in your projects.
The first template is Revit API Selection Template. This template helps you to be able to select one object, many objects, many objects using selection window, point, and other types of selection. After selecting this objects you can have access to their properties and methods in your script. The template is self explanatory and has lots of comments which help you understand the process.
The second templates is Revit API Family Forms Template. This template gives you some hints on creating forms like lines, curves, and more in Revit Family. In this template you learn how to create a simple point inside Revit using your code. Then it goes to higher level of forms like lines, splines, circle, box, helix, butterfly curve, and surface. You can use this template as a base to make your own code to edit or create something in Revit Family for your project.
Please put a comment if you have any questions.
The first template is Revit API Selection Template. This template helps you to be able to select one object, many objects, many objects using selection window, point, and other types of selection. After selecting this objects you can have access to their properties and methods in your script. The template is self explanatory and has lots of comments which help you understand the process.
The second templates is Revit API Family Forms Template. This template gives you some hints on creating forms like lines, curves, and more in Revit Family. In this template you learn how to create a simple point inside Revit using your code. Then it goes to higher level of forms like lines, splines, circle, box, helix, butterfly curve, and surface. You can use this template as a base to make your own code to edit or create something in Revit Family for your project.
Please put a comment if you have any questions.
Subscribe to:
Posts (Atom)