External Command Causing revit to crash
HelloWorking on my first app that can really do something, when I was trying to activate the command in revit it gave me a massive exception and the whole of revit terminated. I grapped part of the Jrn...
View ArticleRe: [HELP]Dynamo Preview, How does the Revit API work?
All that Dynamo does when you turn on that option is generate a preview in it's own engine. I don't believe it has anything connected to the Revit API.
View ArticleRe: How to get Dimension from an Extrusion
I believe that is because the information you're looking for is not stored within the element of the extrution, but within the dimension itself. Have a look through OST_Dimensions and you may find the...
View ArticleRe: Viewport error with linked project
Hi Thibaud,Linked documents are read-only.Perhaps that is the issue?If not, please provide more data.Cheers,-Matt
View ArticleChange Referencing View For Multiple Callouts
Hi, I was wondering if there was any development on being able to change a callout's referencing view? For example if there were multiple callouts across a project referencing a view/sheet A-200, is...
View ArticleRe: Drag and Drop from Explorer
Dear Michael, Thank you for your query, a follow-up to your previous one last week on the same topic, "launch-adding-when-file-is-dropped-in-revit":...
View ArticleRe: External Command Causing revit to crash
I do not think anyone will be able to tell much from this info. If this is your first app, I would suggest ditching it and starting fresh from scratch with your second app. Follow best practices....
View ArticleRe: select elements witch cut by the view
You can use a BoundingBoxIntersectsFilter. BoundingBoxIntersectsFilter CutPlaneFilter = new BoundingBoxIntersectsFilter(_outline);List<Element> ElemsInCutPlane = new...
View ArticleSelect all physical items in model
Hi All, I am trying to select all the Model Element instances in my model. i.e. anything that is a physical object, so I can change the value of a certain Property on all of them. Property value will...
View ArticleRe: Select all physical items in model
Your filter looks OK to me. Cf.: http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.9 Cheers, Jeremy
View ArticleRe: Revit Keynotes: Multi-leader Keynote Tag
Dear Dalton, In general, if a feature is not available in the Revit product manually through the user interface, then the Revit API will not provide it either. Can you implement what you are after...
View ArticleRe: Select all physical items in model
When you use a familyInstance filter , you only find User Created families, and not the system families. try: public static class Extensions{public static bool IsPhysicalElement(this Element e){if...
View ArticleRe: Viewport error with linked project
Thank you for your help but still not working. What I tried last is to create a small project with few element. I tried my add-on and it worked as expected.So I created a second empty project and I...
View ArticleRe: Viewport error with linked project
I just saw this error in the list of every parameters : Outline = 'new...
View ArticleRe: How to get Dimension from an Extrusion
Basically you want to change the profile of the Sketch , done manually by [ Edit Extrusion] correct? If it's your own family, why don't you build it right, with a labelled dimension for the length you...
View ArticleRe: Find RevitLinks is Loaded or UnLoaded
Hi Matt, Why apologies and all. Forgive me If my words hurt you. I will check through that static method. Thanks for the reply. Thanks and Regards,Vinoth Kumar.R
View ArticleRe: Find RevitLinks is Loaded or UnLoaded
I found this Utility, maybe it gives the results you require RevitLinkUIUtils.ReportLinkLoadResults()
View ArticleRe: Find RevitLinks is Loaded or UnLoaded
No, no problem! I don't think so, but I'm happy to be enlightened!
View ArticleRe: Viewport error with linked project
Hi Thibaud, To help further, I would need more code.If you don't show what your objects are initialised as, or what your personal functions do, the code you posted actually makes little sense....
View ArticleRe: Select all physical items in model
I'd probably use .WhereElementIsViewIndependent in there somewhere also. Faster than some of the iteration/LINQ methods.
View Article