Re: TableView.GetCalculatedValueText and TableView.GetCalculatedValueName failin
SWEET! I'm actually doing something very similar to this for comparing schedules and BOMs (strictly in ironpython and winforms, though -- I can't quite code in .NET). This really may come in handy down...
View ArticleRe: TableView.GetCalculatedValueText and TableView.GetCalculatedValueName failin
Dear Johny, Cool, glad you like it. Please let us know how you can make use of it. Thank you for the sample code and model to run it in. For the sake of completeness and legibility, here is your Python...
View ArticleRe: Unexplained "Strongly-Named Assembly Required" Error In Revit Add-
it took me half a day to find this post. I found this stackoverflow question but it seemed complicated for a newer programmer. Thanks for the simple solution.
View ArticleRe: Bug Report, Revit API 2016: Deleted View problem
Thanks Revitalizer, I also think UIDocument.ActiveGraphicalView is safer choice.
View ArticlePerformance difference between Dynamo vs Revit API
Hi,Understand the performance difference between Dynamo vs Revit API.We have developed dynamo workflow to ..(1) Pile structures having lakh's numbers(2) Get the Bottom value of pile(3) Overlayed on...
View ArticleRe: Shared Parameter of Type FamilyType
Dear Stephen Harrison, Revit doesn't expose API to allow specifying category for shared parameter of "Family Type", we already created Revit request issue CF-4658 to track this.This issue needs to be...
View ArticleGet the Selected Cell in a Schedule (not the Object)
I am trying to get the selected cell and its text from a Schedule. I can use the uiDoc.Selected.GetElementIds(), but that gives me the ID's of the objects linked the schedule, and not the parameter...
View ArticleHow to add Curtainwall Grid..? help me?
i Create CurtainWall in API.. my code is... Wall wall = Wall.Create(RequestHandler.m_uidoc.Document, m_CurveList, s.Id, level.Id, true, nomal); and i want to get CurtainWall Grid and Add...
View ArticleSelect cutted windows in section views
Hello friends I want to select only cutted window in section view.IList<Reference> myRefs = uidoc.Selection.PickObjects(ObjectType.Element, new WindowsSelectionFilter());How can i modify my...
View ArticleHow do I go into Group Edit mode with the API? & then return to the main model?
I'm trying to go into Group Edit mode so I can add some parameters to some objects in a group. How can I trigger the Group Edit mode using the API's?
View ArticleRe: TableView.GetCalculatedValueText and TableView.GetCalculatedValueName failin
Not to derail this thread, but have a tangential question. How can I get the "selected" cell in the schedule. I can use GetCalculatedValueText to get the text, but I can't figure out how to use the...
View ArticleAccess to line-based elements?
Does the API in Revit provide a way to access line-based elements, such as imported autocad elements?I want to be able to select all Lines that have a certain length, for example.Just getting a feel...
View ArticleDependency Injection and command classes
Hello. I want to use DI and IoC in my plugin. And I want to inject my dependencies in constructor. To do this, I need to get control of command class creation. Let assume we have such code in command...
View ArticleRe: Dependency Injection and command classes
I don't know why you need to do so but try to create a static public variable/method in the external command and pass to it whatever you want the process it in the Execute method.
View ArticleRe: Exporting windows dimensions to a existing excel file.
Hello,Thanks mwilson1 and Revitalizer. I think I understood the instance / type parameter methodology. Great help your code mwilson1. Thank you very much. I managed to export the dimensions I want to...
View ArticleRe: Performance difference between Dynamo vs Revit API
Dear Rajesh, Thank you for your query. The Revit API is a .NET API. All access to it is via .NET. Dynamo accesses the normal Revit .NET API via .NET, so it will definitely never be faster than a...
View ArticleRe: Performance difference between Dynamo vs Revit API
Currently in the script Dynamo is converting Revit topography into poly-surface and we are using that poly-surface to project as a base. If we could optimize these topo surfaces it will surly become...
View ArticleRe: Revit 2017 API bug report: wrong texture export
Dear Pavlo, Thank you for your report. I logged the issue REVIT-99286 [API: sub-texture missing in material asset -- 12174739] with our development team for this on your behalf as it requires further...
View ArticleRe: How do I go into Group Edit mode with the API? & then return to the main
http://thebuildingcoder.typepad.com/blog/2010/08/editing-elements-inside-groups.html http://thebuildingcoder.typepad.com/blog/2011/11/editing-a-group-take-two.html...
View Article