Re: make external API command available in list of commands available to be a...
@james.levieux wrote:Thank you for the response Jeremy. Just to clarify, is this what the developers are doing, editing the contents of the KeyboardShortcuts.txt file so that their shortcut appears on...
View ArticleLLMs are unable to select views (sections, elevations, callouts) from...
I'm probably going to solve it in an hour or so, but I've spent the past hour unable to prompt LLMs to select all active views in this command, so I thought it might be worth sharing for your own...
View ArticleRe: LLMs are unable to select views (sections, elevations, callouts) from...
I wouldn't posit this as a proper solution, but it does work and isn't too slow. If someone knows how to do it in a single step (directly in he FilteredElementCollector) please oblige // collect all...
View ArticleRe: LLMs are unable to select views (sections, elevations, callouts) from...
what was strange though is that not a single LLM could figure it out (or please prove me wrong), it doesn't look like a difficult or poorly documented part of the api, so it took me by surprisealso...
View ArticleRe: Correct way to change a line's position?
I think it's built-in setting.You can't break the connect by just moving or rotating the lines in UI, either.
View ArticleBUG - Display does not update after paint with API
This code paints all columns with all the materials that start with "boundary"But the display does not updateWe know the surfaces are painted because if you manually paint a surface after running the...
View ArticleRe: reload keynote file
Hi Jeremy,I too resorted to Gemini for help with this and found the results to be WAY worse than expected. It got the very first line of code wrong. Getting the path is so much more complex than it...
View ArticleRe: LLMs are unable to select views (sections, elevations, callouts) from...
OST_Viewers in other view is not type of view, and not OST_Views, but just elements.You can check that in Revit lookup. new FilteredElementCollector(doc, activeView.Id)...
View ArticleRe: reload keynote file
Thank you for checking and evaluating. Yes, the LLMs are often very unreliable working with Revit API, especially arcane areas for which training data is lacking. Possibly, the...
View ArticleRe: Store and manipulate model in APS
Ok. I just answered your identical question on StackOverflow: https://stackoverflow.com/questions/79443467/upload-and-manipulate-model-in-aps-for-revit/ You can perform such a manipulation in a live...
View ArticleRe: Use Revit API from a web app
Hi @omarhassanmohamed_ahmed , can contact my email in case you need any help with that : chuongpqvn@gmail.com
View ArticleAccess Visibility and Graphics Filter List
Dears,i am asking how can i can Access Visibility and Graphics Filter List highlighted in above programmatically Thanks
View ArticleWeird behaviour when trying to get linked elements visible in newly created view
Hello, I am having this error when trying to retrieve the visible linked elements in a newly created view.Specifically when stepping through the new FilteredElementCollector(Doc,View.Id,LinkedElem.Id)...
View ArticleRe: Native Revit Command Inside Custom Command
@jeremy_tammik, Thank you for the response! I am new to coding, so this is above my understanding, for now. 🙂 However, you have provided some tantalizing breadcrumbs to follow. I will research how to...
View ArticleRe: COBie_AIT exports additional parameters "Area" and "Length" in Type and...
Thank you very much Jeremy for your response. I will try it out. Though I was expecting that AIT be aligned with what the COBie standard says since it is made for this purpose in the first place.
View ArticleRe: Access Visibility and Graphics Filter List
Hi, I Don't think this can be set directly from the API.But maybe it's a setting in the Revit.INI Try this, the "CategoryDisciplineFilter" looks...
View ArticleRe: BUG - Display does not update after paint with API
Hi, You have the Material in a loop, so the columns would be repeatedly be paintedIf the Material collector only retrieves one material, then use .First and only paint the columns once. If after the...
View ArticleRe: BUG - Display does not update after paint with API
The loop in the code is there to go along with some additional code (whichI removed for this sample) to export an image of the view after paintingwith each material. The bug is unrelated to that loop....
View ArticlePanel Schedule View - Get cell text
Hi all, I'm trying to export panel schedule content to Excel. See image below, I'm able to export what's in yellow. I still need to export what's in pink. Here is the resume of what I tried :...
View ArticleRe: BUG - Display does not update after paint with API
You code is a little strange and after some play-around, looks like paint Columns is weird. Paint FamilyInstance does not work with all categories, if you try to paint a Door or Window does not work,...
View Article