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

Re: Edit Light Fixture Asset programmatically

Do you mean the error message is saying that an edit scope is required for lights, and there is no such thing available? That is exactly what I mean. Materials have the AppearanceAssetId property and...

View Article


Re: seleccion de tipos de familias

Picking only specific types of BIM elements can easily be achieved in an add-in. Simply use the standard PickObjects method and specify a selection filter to allow only the type of elements required:...

View Article


Re: Parameter type changes to custom in Revit 2021.1

Looks like we don't have API support(for creating) for these parameter types.

View Article

Re: Need a generic model to render wireframe no matter what

If your objects of interest are family instances and you have control over the family definition, you could simply ensure that the family definition contains only curves, no faces or solids. That would...

View Article

Re: Edit Light Fixture Asset programmatically

Okey-doke. I asked the devteam for you. I did not tell them that you only want a yes or no answer. You might end up being frustrated if they did. 

View Article


Re: Edit Light Fixture Asset programmatically

Thank you!

View Article

Re: Dynamo script in Revit API

Hi Klawson,I have followed this problem from a to z and I've tried to implement it into my own project. As mentioned above I'm also trying to run a dynamo script through my own button I've created in...

View Article

Re: Dynamo script in Revit API

Hi Klawson, I have followed this problem from a to z and I've tried to implement it into my own project. As mentioned above I'm also trying to run a dynamo script through my own button I've created in...

View Article


Get individual elements within an insterted ifc

After inserting an ifc, i got a box that covers the elements within, i am unable to select the individual elements as everytime i click on it it only selects the entire box, is there a way to code such...

View Article


Re: Get individual elements within an insterted ifc

Hi  ,try using the below code //Get the LINKED DOCUMENT Document linkedDoc = null; foreach(Document d in app.Documents) { if(d.Title!=doc.Title && d.Title=="Your Linked Document Title") {...

View Article

UI.FileOpenDialog Choose a folder instead of a file

I need to be able to designate 2 folders for importing and exporting activities. But the file dialog does not allow for me to select a folder... only files. So how would I go about asking the user for...

View Article

Re: UI.FileOpenDialog Choose a folder instead of a file

Use the .NET or Windows API instead. I know that The Building Coder has implemented and documented such methods. Don't know where, though, off-hand.  By the way, similar questions have also been...

View Article

Re: Dynamo script in Revit API

Hi Pete, I'm not sure. Did you try everything in this list?  Otherwise post your .sln and dynamo files.  1) May sure that you only have 1 version of Dynamo installed that is at least 2.X2) Make sure...

View Article


Re: [ExtensibleStorage] Setting entity corrupts Revit 2021.1 model and...

Thanks for the info.  After modifying the code to only build the schema if it doesn't already exist in memory seems to fix the issue.  What's weird is that I've used the same schema since Revit 2016...

View Article

How to get the Category List that is for the family can change to.

Hi, thereI'm working on a project to change the family category, but I meet a problem is thatHow to get the Category List that is for the family can change to.Like you see the below screenshot, here...

View Article


Image may be NSFW.
Clik here to view.

Re: How to get the Category List that is for the family can change to.

View Article

Re: intern developer

Hi ,thanks for your respond.my problem is how first I could create face from series of model lines (both curve and line are included in set of model line) and then your solution comes  after that.also...

View Article


Re: [ExtensibleStorage] Setting entity corrupts Revit 2021.1 model and...

Be careful. It can still happen that you create files with two different schema versions (fixing typos in doc strings suffices as mentioned above). This is a terrible source of hard-to-find problems...

View Article

Re: Parameter type changes to custom in Revit 2021.1

The development team replied: Yes, it's intentional, but I recognise it as a limitation. A future major release of Revit will offer a better experience. The reason behind it is that the new data types...

View Article

Re: Create .rvt file from C#

Hi. Thank you for your reply. Can you please share any blank projects for me to get started?

View Article
Browsing all 66719 articles
Browse latest View live


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