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

Re: The crop of the associated view is not permitted to have a...

See the remarks for this method https://www.revitapidocs.com/2023/548c4181-2779-40a2-8276-b7a43a85a161.htm  Also could be the original crop/split has to be removed first.And there could be a number of...

View Article


Re: GetRuleParameter Returns Valid ElementId, but doc.GetElement(id) is Null

Does the Rule in the UI have a valid parameter?

View Article


Re: The crop of the associated view is not permitted to have a...

Thank you,"This Method is reserved for setting crop shape in views that allow non-rectangular crop shapes - see property CanHaveShape . For views that don't allow non-rectangular crop shapes (e.g....

View Article

Re: GetRuleParameter Returns Valid ElementId, but doc.GetElement(id) is Null

Yes, the parameter is valid.I created rules of various types and tested them all. Each rule returns a valid ElementId. However, when I attempt to retrieve the element using doc.GetElement(id), it...

View Article

Re: Reloading family symbol fails for the second time

@ricaun This example has been edited, if I see correctly the family from the project? I have the changed family in a central environment, with this action he will open and reload the current one (in...

View Article


Re: Sign in pop-up

So, no one else is having this issue on a regular and continuous basis? Every click, every refresh, every link on this specific Forum, but only on this specific Forum. Yes, even though I am logged into...

View Article

Re: Retrieve level from element

I have a post asking about that same login pop-up posted on 10/2/2024...It doesn't have any help or solution, just sayin...-G

View Article

RevitID to Sheet

Does anyone know if it's possible to extract the Sheet associated to each Revit ID;In addition, if I have a linked Revit document for each of it's Revit ID's to it's associated sheet; and lastlyif I...

View Article


Re: Web Version of Revit

HAVE WORK

View Article


Re: Sign in pop-up

Yes, having the same issue.  I'm sure everyone is. I have seen this before too, but I don't think I've ever seen it last this long.  I'm not sure if Autodesk has been hacked or what.   I see a...

View Article

Re: Does "Add to all elements in the selected categories" have API...

You (or maybe Revit) lost me.  How can you add a a parameter to a category, and not add it to all the elements in that category? From the looks of your dialog box, it looks like you are trying to add a...

View Article

Re: Revit crashes while running plugin

@Spark9z wrote:I really want to know what possible situations could cause this error to occur.what could cause revit to crash - Search (bing.com) I think that might be a very long list.  And without...

View Article

Re: Does "Add to all elements in the selected categories" have API...

@sragan,This can happen if you use the same shared parameter in two different families, as a Type in one of them and an Instance in the other, then import both families into the same project.

View Article


Re: RevitID to Sheet

I suggest that you explain precisely what you mean by "RevitID".   

View Article

Re: Reloading family symbol fails for the second time

Depending on Family (and number of) doesn't this add a huge amount of time to update a family, seems a bit overkill? If the family from disk and in project is detected by Revit as identical, why not...

View Article


Re: RevitID to Sheet

Any model element. As an example :A steel member can be shown on multiple sheets;Or a valve coming from Plant 3D, which sheet would those valves be on?

View Article

Image may be NSFW.
Clik here to view.

Revit 2024 generates copy error when same code runs fine in Revit 2022

running Revit 2024: version 24.3.0.13 The following line of code generates a "copy error" when executed in Revit 2024.  BUT..... same line of code runs just fine in Revit 2022.  nElem =...

View Article


Create linear dimension constraint

I want to duplicate what the Revit interface does when you click the blue lock icon on a linear dimension. The API documentation makes it seem like one could simply set Dimension.IsLocked for...

View Article

Re: Revit crashes while running plugin

Thank you for your reply.I will check the code and spend some time testing to see if there will still be crashes.

View Article

Re: Revit 2025 - Macro Manager and Visual Studio 2022

So from Revit 2025 coding has to be in C#, there is no way to code in VB or Python ?

View Article
Browsing all 67020 articles
Browse latest View live


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