Quantcast
Channel: All Revit API Forum posts
Browsing all 67020 articles
Browse latest View live

Re: Revit 2018 Code Signing

This is great! I am going to utilize that in my own Repos. Ok I finally got windows to recognize my cert, Let me track through what I did and how I got it to work. Originally I was using openssl on a...

View Article


Re: Used PreviewControl(ElementHost & PickPoint

Wow! Brilliant. Thank you very much for pointing that out! I guess that is why it requires a transaction, then... I seem to remember something like that. It does, doesn't it?  

View Article


Re: Used PreviewControl(ElementHost & PickPoint

Oddly enough -- no, it doesn't require it!  This could be like the PromptForFamilyInstancePlacement method which has a transaction control built in. The PreviewControl class is full of Event Handlers...

View Article

Re: Used PreviewControl(ElementHost & PickPoint

Well, I remember some issue with transactions ... I assume it will refuse to run in read-only transaction mode, then... 

View Article

Re: Used PreviewControl(ElementHost & PickPoint

Jeremy, I can confirm. Switching the TransactionMode to ReadOnly is now just hanging the command (never opens the window for the PreviewControl). Funky stuff, but good to know!

View Article


Re: Re-Associating Model Groups

Before you ungroup wouldn't you record the other groups i.e. 1) Pick a group2) Get it's group type3) Record IDs of all other groups of that type (GroupType.Groups)4) Look for instance parameters of...

View Article

Re: Re-Associating Model Groups

Thanks for the reply. I was attempting to not get too much into the weeds of the entire tool but the data is being loaded from an external file to know which instances it needs to update.  When an item...

View Article

Re: Re-Associating Model Groups

Where it gets more complicated is when a group is nested in two different group types. If the nested group also existed on it's own as an instance outside the group then that would be fine you just...

View Article


Image may be NSFW.
Clik here to view.

Framing section reorganization

Hi everyone, I am trying to create a code to recognize the structure framing section as the guideline from...

View Article


Re: Framing section reorganization

I don't know how to fix that off hand but I'm wondering why you are not getting the section shape from Family.StructuralSectionShape? A library of families that implements this has standardised...

View Article

Image may be NSFW.
Clik here to view.

Re: Framing section reorganization

Dear Mr.  , Thank you for your comment. I have checked the Family.StruccturalSectionShape, but mostly all of the Structural framing family ( from default Library of Revit) is not defined: Do you have...

View Article

Re: Revit IExportContext failed to export linked models?

Thanks very much! Through comparison with the CustomExporterXML example, I am finally able to locate the error: public RenderNodeAction OnElementBegin(ElementId elementId) { var elem =...

View Article

Re: Create a Sweep by 3d path

congratulations,firstly ,thanks for your demo to show  a lot of details I also have the same question in my project ,this also need to  to use the 3d path to sweep.I 'm searching for the solution...

View Article


Image may be NSFW.
Clik here to view.

Material Tags Show Question Marks & Empty TagText

Hi,I tried to create some material tags with IndependentTag.Create() on certain views but encountered some problems:1. If the view is not activated in the document, the material tags can still be...

View Article

How to select the LightGroup device from one Room through Revit API?

I built a LightGroup device with several lamps in Revit 2019.I want to select the LightGroup device from one Room, how can I do it?With the catagory? family? or some other information?

View Article


Re: Why doesn´t Viewport fit to view?

 I have tried it but it does not work. I want viewport.GetBoxOutline to fit with all included elements as you can see in the photos. viewport.GetBoxOutline is not the same as CropBox, AnnotationCrop or...

View Article

Re: Framing section reorganization

Regarding your first question on the null reference exception, the same answer as always: step through your code in the debugger line by line, look at the variable values, and you will see exactly what...

View Article


Image may be NSFW.
Clik here to view.

Re: Framing section reorganization

Dear Mr.  , Thank you for your suggestion. I tried to find the bugs location and it had bug at the first line of RVTFamilyConverter as following image:   Do you have any idea why this happen? Thank you...

View Article

Re: Material Tags Show Question Marks & Empty TagText

This issue has been discussed repeatedly here in the past, but not really explained in depth:...

View Article

Re: Framing section reorganization

Step into the family converter constructor with the debugger and step through that line by line. That will show you exactly what error occurs, why and where. 

View Article
Browsing all 67020 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>