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

How to get floor side face point at other element?

Hi I have one questionHow to get the side face (4 vertices of the red area in the figure) with XYZ points of other elements with Revit API?Or is there any way I can get with Global Points?

View Article


Image may be NSFW.
Clik here to view.

Re: Failed to insert union - error

Hi :I have downloaded your .rvt document and opened it in Revit 2020.It seems that you had loaded some <Pipe Fitting> families into this document.But the pipes in your document have no routing...

View Article


Image may be NSFW.
Clik here to view.

Re: InvalidOperationException during DefinitionGroups.Create(string)

Hi:Any exception message? see below: Try this line:var group = defFile.Groups.FirstOrDefault(g => g.Name.OrdinalEquals("some group name")) ?? defFile.Groups.Create(preDef.OwnerGroup);

View Article

Re: Change color of exporting CAD, dwg files

Hi  ,You can change the color using DWGExportOptions. here is the sample codeDWGExportOptions dwgExportOption = new DWGExportOptions(); dwgExportOption.Colors = ExportColorMode.IndexColors;...

View Article

Re: Revit printing issues with HP T830

Have you tried another printer?A virtual pdf printer or so to trackdown the cause revit vs hp printer issue. 

View Article


Error code 1603 while installing

I downloaded Revit 2020 on my laptop a couple of weeks ago.After I needed to perform a system recovery yesterday, I could not open Revit anymore.An error "The License manager is not functioning or is...

View Article

Re: Error code 1603 while installing

Hi  ,Unfortunately, this is not the best place to ask such a question.Please note that this discussion forum is dedicated to programming Revit using the Revit API.Therefore, you cannot expect an answer...

View Article

Семейства

есть ли большая база с семействами металлоконструкций, которые будут отображаться во всех спецификациях шаблона ADSK мк?

View Article


Re: Failed to insert union - error

Yes I understand that, but as I said I'd like to do it programatically, not through the UI at all. How do I set them using code?

View Article


Image may be NSFW.
Clik here to view.

revit ribbon

Dears,how to get the Revit ribbon height and condition in case (show full ribbon, minimize to panel tiles .. etc)or how to get the location of the option bar  below itor how to access it to added my...

View Article

Re: Failed to insert union - error

That is something I'd like help understanding how to do. I have tried and have not found the appropriate code to accomplish that task. Can you please provide me with the right way to set routing...

View Article

Run Script on Document Startup

Hi. I am trying to run a script on document startup through PyRevit however I am unsure how to achieve this. Below is the code I currently have. I am unsure where I should be putting this code in order...

View Article

Re: is there a way to check if single or multiple sheet(s) printing and/or expor

Assuming that...doc.PrintManager.PrintRange = PrintRange.Select;and that you haven't selected a set of views to print yet.you can determine:if (printManager.ViewSheetSetting.CurrentViewSheetSet is...

View Article


Re: Revit printing issues with HP T830

We did try it on just a standard laserjet and it printed out just fine. We're only having issues with the plotter printer. 

View Article

Re: Update Dockable Panel Content from External Event?

Sorry, was on the way out the door yesterday when I replied.  Here's a full example.  public partial class DockLayer : UserControl, Autodesk.Revit.UI.IDockablePaneProvider { SelectionGroup SG = null;...

View Article


Re: Execute ExternalEvent issue in loop

On another note, you should move *all* code accessing the Revit API out of the button click event and into your IExternalEventHandler implementation.

View Article

Image may be NSFW.
Clik here to view.

Re: InvalidOperationException during DefinitionGroups.Create(string)

Hi,I have an idea what may cause the InvalidOperationException message.I'm not sure what you mean by ..."if the default file is used".., but this could cause the error.You have to create manually(or...

View Article


Re: Execute ExternalEvent issue in loop

Interesting idea Mr. Chen.  I will try this out.  Thank you for sharing.

View Article

Re: revit ribbon

For the Ribbon status, just use some apis from AdWindows.dll which ships with Revit. You can easily find it in Revit root folder. Use Autodesk.Revit.Windows.ComponentManager.Ribbon to get the...

View Article

Revit 2020 API BasePoint - Unable to access parameter info of linked models.

We have been using a python script to get the BasePoint info from all linked models in a project. We use this to create a project dashboard showing all linked models and their associated location...

View Article
Browsing all 66900 articles
Browse latest View live