Re: How to get the total width and length of the design using Revit API C# ?
Dear Bilal, Thank you for your query. I summarised, cleaned up and published our conversation on The Building Coder:...
View ArticleRe: Revit API Documentation Online
Fantastic! Congratulations! A beautiful and extremely useful piece of work! I note on typo in the top menu bar: the '2017' entry is marked as '2016', so '2016' occurs twice. Thank you very much for...
View ArticleRe: Revit API Documentation Online
Thanks It was a lot of planning/work, but came together faster and better than I expected. Thanks for poiting out the typo, I already pushed a patch (it was introcuced this morning when I added the...
View ArticleRe: Revit API Documentation Online
Dear , Thank you for the fix. I'll mention it on The Building Coder tomorrow. I also have individual requests from other developers thinking about working on this. I need to tell them you already did...
View ArticleGet elements placed in the project
I am looking to gather all model elements that have been placed in a project. In working through this, I used a FilteredElementCollector to filter all walls, and then delete them. This resulted with...
View ArticleRe: Write custom metadata to a Revit project via API
Dear Chris, Thank you for your query. Two options: Extensible storage -- not user visibleShared parameters -- user visible, just as you request in your screen snapshot If you don't care, the former is...
View ArticleRe: Write custom metadata to a Revit project via API
Thank you for your reply, Jeremy. I'm currently going down the Extensible Storage route, however I'm having some trouble with the retrieving of the data once it's been written. So far, I can write...
View ArticleRe: Revit API Documentation Online
Hi The code is on github.Project is definately open to collaborators.It needs +code docs, +test coverage, and can probably be improved and optimized significantly by more seasoned web...
View ArticleRe: Units of BuiltInParameter.RBS_ELEC_APPARENT_LOAD_PHASE1?
Very good. I suppose to make better sense out of this, voltage has a length^2 dimension component but ampere has no length dimension component. Therefore the units conversion is coming from the voltage...
View ArticleProblems in dockable pane with UI interaction with Revit
Hi all, I have some problems while using the dockable pane with UI interaction with Revit. I have buttons in the dockable pane, and these buttons are designed to raise the external events, in which...
View ArticleRe: Get elements placed in the project
It is not clear to me what you are trying to achieve. Do you want to delete all elements on a certain level ?
View ArticleRe: Custom Edit Mode
Hi Mustafa, I need it for multiple scenarios, but to quality the brief "use case" further: i want to trigger editing (edit mode), for elements based on List<ElementId>. (secondary preference...
View ArticleRe: Elements disappear after closing the form
I still don't understand what I am missing. The tags are added without any problems if I ran the externalcommand directly without a form. For some reason when I add a form to my program, all my tags...
View ArticleRe: Get elements placed in the project
Dear Michael, I was not aware of any possibility to have 'unplaced' elements in the project, except for rooms. One idea that comes to mind: I would assume that an unplaced element of any kind cannot...
View ArticleRe: Making Better Flex with API
Dear Mhillis, Thank you for your query. How do you specify the flex duct curve through the user interface? Don't you need to specify more points somewhere, or a spline curve, or something to define...
View ArticleGet Parameter Values from Room
Hi, I'm moving from Python to C# and am trying to convert my plugin which obtains data from Room objects. In Python I can obtain a rooms Number with the following method: Create a...
View ArticleOpensource API for reading REVIT Files
Can someone please suggest me an open source API (SDK) preferably C# for reading REVIT file.
View ArticleRe: Shared Coordinates Incompatible
Hi Jeremy, Apologies for the delay in this reply. I have been too busy fixing coordinate issues... Test example:Create 4 new Revit projects all based on the same template (Autodesk default...
View ArticleRe: Get elements placed in the project
I am working on a utility to help me publish firm templates. There are multiple people that are modifying the templates, and I would like to standardize the creation. One of the steps I am taking is...
View ArticleRe: Get elements placed in the project
Dear Michael, Thank you for your update. It leaves me a little worried. Are you sure you know what you are doing? Do you want to delete instances, or types? I still do not believe that anything such as...
View Article