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

Re: Revit export ddXML?

Dear Peter, Thank you for your query. I found some mentions of the ddxml integration that you refer to ten years ago: Trane Trace 700 GBXML...

View Article


Re: get FamilySymbol from Family

For fabrication you need to use BuiltInParameter.ELEM_FAMILY_PARAM to get the name.here is a quick macro Example. Document doc = this.ActiveUIDocument.Document; View view = doc.ActiveView;...

View Article


Re: Dimensioning problems with stud walls

Dear Leia, Thank you for your query. However, please note that this discussion forum is dedicated to programming Revit using the Revit API. Therefore, you cannot expect an answer to a question such as...

View Article

Re: get FamilySymbol from Family

I can think of two different ways:1 - Get an ElementType element and get FamilyName property ... Element elemType = dbDoc.GetElement(fp.GetTypeId()); ElementType type = elemType as ElementType; string...

View Article

Re: How to change settings in snap dialog by Revit API?

I can only think in 2 ways of doing it one is using PostCommandwith the Windows Automation API.  public void PostableCommandExample() { UIDocument uidoc = this.ActiveUIDocument; Document doc =...

View Article


Re: Problem with resetting printer dpi

Yes, but you have to do it outside Revituse the following steps. Search Windows for devices, and click Devices and Printers in the list of results. Right-click the printer icon () for your printer, and...

View Article

Grouping/Regrouping Project Parameter Issue

I have a plugin that uses the group modification method detailed on Jeremy's blog.That is... a "Group A" is selected, ungrouped, modified, regrouped using a new Group called Group A , and then changing...

View Article

Automatic Creation of Void Extrusion Element/ Retrieve Cut Area from element

Hello Everybody, I’m finding it difficult to find any informative material on a subject in the API that I was hoping might have already been explored. Specifically I was hoping there would be an...

View Article


Re: Revit export ddXML?

Thanks, sir, for your speedy response, and for sharing your expertise.  We will investigate further, thanks again!

View Article


Re: multistorey stair subements

Hi Jeremy Thanks for your reply but now I am even more confused. I think we are talking about two different issues: Number system - This CAN be done via Create Method (Document, ElementId,...

View Article

Re: Generated dimension and spot elevation not visible

If you use SymbolGeometry for a FamilyInstance, all the spatial information is in the local coordinate space of the symbol. To find the spatial information of the instance, you need to apply a...

View Article

FilteredElementCollector returns ElementType instead of Elements

Hi, i'm trying to make a function that returns a list of elements that have the omniclass BuiltInParameter not set to something empty, i made this function but it's returning a list of the ElementTypes...

View Article

Image may be NSFW.
Clik here to view.

Re: Dimension between walls corners using Revit's API

 I was able to dimensions to openings by using the following block of code, however i was never able to create a stable and reliable function to dimensions to "Rectangular Straight wall Openings"...

View Article


Re: FilteredElementCollector returns ElementType instead of Elements

Maybe what you're after. public List<Element> GetElementsWithThisParameter(Document doc, BuiltInParameter param) { ParameterValueProvider provider = new ParameterValueProvider(new...

View Article

Re: Grouping/Regrouping Project Parameter Issue

Hi Benjamin, I didn't verify this via code but I did play with ungroup, modification, regroup with Revit UI,.. however I didn't find parameters losing, do you mean the parameter values missing? If so,...

View Article


Re: Grouping/Regrouping Project Parameter Issue

I'm not at a computer where I can create something reproducible now but I'll try to post some code soon. You mentioned saving the parameter values and reassigning them after regrouping. This is what I...

View Article

Re: Generated dimension and spot elevation not visible

 Your solution works, and I can't begin to tell you how relieved I am. I've spent days trying to find a solution without reading up on instance geometries and transforms. The conversion to stable and...

View Article


No Render Gallery Access

There has been no access direct from the software or through logging into my Render Gallery account for 3 days now. I only know my renders are being done because I get an email confirmation showing me...

View Article

IFC opened in Revit without showing Custom data properties of some components

Hello, I have an issue related to open an IFC file in Revit 2018.Please see the attached video and related files via the...

View Article

Image may be NSFW.
Clik here to view.

Re: Import family instance to existing floor with specific location in REVIT API

Dear Jeremy  / Marry, Thanks for your provided solutions. Now we are able to place the family instance with some point on the floor. Now we are trying the same method to place the doors on wall with...

View Article
Browsing all 66721 articles
Browse latest View live


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