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

Image may be NSFW.
Clik here to view.

Change Grid Type value or its instance's Extents through API?

Hi, is it possible to control the parameters of Grid type and its instances value via API?  I currently have two questions about Grids,I've tried using Get_Parameter and SetValueString but couldn't...

View Article


Translating Mesh into Revit Solid

Is there any way I can convert Mesh object into Revit Solid object ?

View Article


Re: Override Finish button after selecting the elements

Hi, I've the same question,is it possible to finish selection automatically same as picking a single object?or how can we override the button with pressing Enter or Spacebar? Plus, is it possible to...

View Article

Has anyone been successful in building a NetStandard-2.0 or Net-5.0 plug-in?

Has anyone been successful in building a NetStandard-2.0 or Net-5.0 plug-in? I've read in a couple of post where, in theory, netstandard-2.0 should be compatibile with net framework 4.6 and above, so,...

View Article

Moving from UnitType/ParameterType to ForgeTypeId problem

Hi, I've been using for quite some time the Enum ParameterType in a rather special way when it comes to creating Parameters that I need. I've implemented a property Attribute where I use ParameterType...

View Article


Re: Override Finish button after selecting the elements

I don't think you can, because you are doing a multiple selection and Revit can't know when your uiselection is over. It's the same as moving function, once you've selected all your elements, you have...

View Article

Re: Override Finish button after selecting the elements

You can set a new empty selection :List<ElementId> elementIdList = new List<ElementId>(); uidoc.Selection.SetElementIds(elementIdList); 

View Article

Re: Is it possible to detect an object on some specific distance from...

Hi thank you for reply.I have multiple points that are on stairs of every step and stairs are also multiples.And i want to make sure any obstacle is not present from 2.1meter from steps of stair.[i am...

View Article


Re: Is it possible to detect an object on some specific distance from...

The link above opens fine for me. Yes, The Building Coder offers numerous alternative approaches as well. Look at the topic groups, e.g., Element Intersection and Collision Detection, 2D Booleans and...

View Article


Image may be NSFW.
Clik here to view.

REVIT API - Rooms Get Boundaries Segments

Hi there everyone, I am really new in the Revit API and I've been facing a little problema with a little charlleng i set. So i have been trying to create Floors from Rooms in Revit, and for that I used...

View Article

Re: Moving from UnitType/ParameterType to ForgeTypeId problem

Interesting problem. You could instead of providing the ParameterType provide a string constant of the property path containing the SpecTypeId. i.e. the first two examples below with the third being...

View Article

Call forge api throught a revit plugin barrear

Hi everyone,I'm trying to make some requests to forge api through a Revit plugin developed using the revit api, but it seems to exist some king of barrier to every uri:...

View Article

Re: Multi-Target 2021 and 2022 Using MSBuild

Hi, I have been making Revit add-ins for several years now and my tools are working just fine on Revit 2017 up to 2022.But why do you want to target different .net versions for each Revit version when...

View Article


Re: REVIT API - Rooms Get Boundaries Segments

If you look at that first error, it's trying to convert Autodesk.DesignScript.Geometry.Point to Autodesk.Revit.DB.LocationPoint. The reference to Room that you're using appears to be from the wrong...

View Article

Re: REVIT API - Rooms Get Boundaries Segments

I'm just wondering, from which assembly dose the namespace "Autodesk.DesignScript.Geometry..." come from ?!dose it related to the dynamo/python for Revit ?

View Article


Re: REVIT API - Rooms Get Boundaries Segments

I'm not sure since I've never seen it before, but I did a quick Google search and it looks like it's from the ProtoGeometry.dll file that comes with Dynamo. Here's the link I used if you're curious.

View Article

Re: Getting a Sheet Name List without opening Revit

Hey Francisco,Thank you for your reply. Actually my level of revit is insufficient to understand what you mean.I mean, i dont even know how to run this script in the link So thanx for trying to help...

View Article


Image may be NSFW.
Clik here to view.

Re: REVIT API - Rooms Get Boundaries Segments

I see, that really solved one problem! However I found other right after that. When using a collector with a Roomfilter to get all Rooms in a specific project, the objects that I get returned are...

View Article

Re: Moving from UnitType/ParameterType to ForgeTypeId problem

Thank you for the suggestion. Better than what I've come up with so far but it still doesn't fully protect against typos etc. Was why I liked the old Enums. Not sure why Autodesk couldnt just keep the...

View Article

Re: REVIT API - Rooms Get Boundaries Segments

I don't see where the issue is, where are you trying to convert Element to Room? You should be able to do that fairly easily. The way I usually go about it when using a Filtered Element Collector is by...

View Article
Browsing all 66690 articles
Browse latest View live