Monday, May 19, 2014
.NET and Reference Versions
Ran into this error today when migrating our company addins to 2015:
Monday, April 28, 2014
Beware the In Place Family
I have been working to have my latest Revit add on published to the Exchange app store and came across a bug in my code.
The app basically processes all walls (or all selected walls) and allows you to manage the wall join condition (allow/disallow joins) here is a link to the page describing the app: http://krispcad.blogspot.com.au/2014/03/krispcad-wall-join-manager.html.
All was working hunky dory in my test projects so I submitted the app confident of a quick approval. What I got instead was a message telling me that my app throws an error :( Sure enough, when I tested the app with the sample project it threw the error. Turns out that checking that the walls collected are of the correct Category was not enough as the sample project also included an in place family in the wall category... so my code was throwing an error when I was casting my collection's objects to "Walls", the in place family is a "FamilyInstance" and cannot be cast to "Wall".
A simple fix of including an "ElementClassFilter" for a type of "Wall" solved the issue... hopefully my new app will be available on the store in the next few days.
The app basically processes all walls (or all selected walls) and allows you to manage the wall join condition (allow/disallow joins) here is a link to the page describing the app: http://krispcad.blogspot.com.au/2014/03/krispcad-wall-join-manager.html.
All was working hunky dory in my test projects so I submitted the app confident of a quick approval. What I got instead was a message telling me that my app throws an error :( Sure enough, when I tested the app with the sample project it threw the error. Turns out that checking that the walls collected are of the correct Category was not enough as the sample project also included an in place family in the wall category... so my code was throwing an error when I was casting my collection's objects to "Walls", the in place family is a "FamilyInstance" and cannot be cast to "Wall".
A simple fix of including an "ElementClassFilter" for a type of "Wall" solved the issue... hopefully my new app will be available on the store in the next few days.
Sunday, March 9, 2014
KrispCAD Wall Join Manager
This post provides instructions on how to use my Wall Join Manager app that is being published on the app store:
Update: the app is now live: http://apps.exchange.autodesk.com/RVT/en/Detail/Index?id=appstore.exchange.autodesk.com%3akrispwalljoinmanager_windows32and64%3aen
Update 2: the app was republished today to include support for the 2015 releases of Revit. If you have previously purchased and downloaded the app you should be able to download the new version with your Autodesk log-in.
Update: the app is now live: http://apps.exchange.autodesk.com/RVT/en/Detail/Index?id=appstore.exchange.autodesk.com%3akrispwalljoinmanager_windows32and64%3aen
Update 2: the app was republished today to include support for the 2015 releases of Revit. If you have previously purchased and downloaded the app you should be able to download the new version with your Autodesk log-in.
Wall Join Manager
This is s simple tool that allows you to align several text notes to another selected text note. To run the command simply follow these instructions:
- Optionally select the walls on which you want to change the wall joins.
- Run the "Wall Join Manager" command from the Add-Ins ribbon panel.
- Select "Join Type", either "Allow" or "Disallow" joins.
- Select whether to change the wall join status on one end or both ends of the walls.
- Select which walls to apply the changes to. By default if you preselect walls that option will be checked, otherwise you can specify all walls in the project or all in the current view.
- Optionally specify whether to filter the walls by one or more wall types.
- Click "OK" to apply the changes.
Wall Join Manager - Options Dialog |
Privacy Policy
This developer of this app does not collect or retain any personal data.
Subscribe to:
Posts (Atom)