Re: Selecting in Linked Documents
Hi ! To Select linked elements I use this : IList<Element> Allelems = new List<Element>();IList<Element> elems = collector .OfCategory(BuiltInCategory.OST_RvtLinks)...
View ArticleRe: Selecting in Linked Documents
Hi, thanks for answering. I honestly do not see where the selection happens. I mean literally 'select' in the sense of the object being highlighted (and possibly shown) in the editor window. As far as...
View ArticleDetermining the allowed rotation axis for a given FamilyInstance (?)
Hi, Anyone with a clue on how to get the element's axis of rotation ? Depending on how the family has been made, I can rotate it around one axis only. But how, programmatically, determine this axis ?...
View ArticleRe: Door/Window Areas
BTW, the areas are reported in sq feet... conversion is needed for metric system.
View ArticleHow to get start & end points of the wall joint?
Hi All, I want to get the start and end points of the wall joint, instead of the wall. Despite the fact, that the code fetches each wall of the room and then gets the relevant curve, as shown below....
View ArticleRe: Door/Window Areas
To clarify: 1) I am working with the python shell, so no Dynamo specific coding is implemented in the sample.2) of course all units returned from revit are not metric. conversion will always be...
View ArticleRe: Door/Window Areas
To clarify: 1) I am working with the python shell, so no Dynamo specific coding is implemented in the sample.2) of course all units returned from revit are not metric. conversion will always be...
View ArticleRe: 2017 Add-In manager
Thank you for your reply. I Uninstalled the 2017 SDK and re-installed it from the download in the link you provided. I set it up the same way I have it set up in Revit 2016, in which it works fine. The...
View ArticleDefault 3D View, Section box enabled may cause issues with ReferenceIntersector
Hi Just an observation that had me scratching my head for a couple of hours that I thought I would share. I noticed that while retrieving a room boundary, under some circumstances a boundary segment...
View ArticleRe: Modify CropBox of Elevation View
OK, something is definitely going wrong here. I modified to code to simply obtain the Cropbox Min and Max values of the existing view, and then create a new Cropbox with the existing Min and Max values...
View ArticleRe: No visible geometry in DWF file
Hi Rong, What's API and method parameters you're using to export DWF? Note that Revit API provides DWFExportOptions class to customize the dwf export options, you may try to change the option to check...
View ArticleRe: How to generate x and y-axes of rooms in the Revit API (in Millimetre)
The issue is resolved by replacing the following lines of code Wall w = r.Document.GetElement(bs.ElementId) as Wall; Curve curve = (w.Location as LocationCurve).Curve;with the following code Curve...
View ArticleCurtain Panel Pattern Based - Non Parallel Panel Edges (ETFE)
I'm attempting to create an ETFE panel. ETFE Examples I've created a Curtain Panel-Pattern Based. I didn't have any issues creating a panel that flexes within the panel family. The issue arises when...
View ArticleRe: How to get start & end points of the wall joint?
Hi, You can view this article, everything is explained : ht tp://thebuildingcoder.typepad.com/blog/2011/10/retrieving-detailed-wall-layer-geometry.html
View ArticleRe: XYZ question
I suggest rolling your own Point and Vector wrappers around it. It will make your code much easier to maintain.
View ArticleRe: Delete a selection filter
I use this so often I created a document extension for it. public static class DocumentExtensions { private static FilteredElementCollector Collector(this Document revitDocument) { return new...
View ArticleRe: Document corruptioin with Structural Analysis Toolkit 2016
Hi Harada, Any updates ?
View ArticleRe: Remote Debugging Revit 2016 API with Visual Studio 2015
hi, Can you help to share what exception is? what code threw the null exception? I wonder if you should try to find the root cause of addin exception firstly. Regarding remote debug, this should be...
View ArticleAdd Ribbon panel to custom Ribbon tab
Hello, I created two addins, in first addin I write the code for create ribbon tab and ribbon panel and install it. It successfully run.then I want to install 2 addin in the tab which I have create...
View ArticleRe: Placing fittings
hi Michail, The pipe fitting instance depends on your fitting family which may require the input connectors should be in order when calling NewElbowFitting(Connector connector1, Connector connector2)?...
View Article