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 ArticleRe: 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 ArticleRe: Parameter type changes to custom in Revit 2021.1
Looks like we don't have API support(for creating) for these parameter types.
View ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleGet 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 ArticleRe: 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 ArticleUI.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 ArticleRe: 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 ArticleRe: 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 ArticleRe: [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 ArticleHow 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 ArticleRe: 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 ArticleRe: [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 ArticleRe: 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 ArticleRe: 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