Re: Change workset of read-only parameter
You first filtered element collector selects absolutely all element types, regardless whether system family or not. You second filtered element collector selects all elements that are NOT element types...
View ArticleBest practice for multiple ExternalEvent modules
Dear Everyone,I'm developing a plugin, where I have several IExternalEvent modules, many of which are communicating with Revit from outside (via Windows Form and WPF). My goal is to find the cleanest...
View ArticleHow to set the Image path to the ApperanceAssetElement of a Material
Dear all, I am developing a function called billboard creation, I need to create a material which based on the image file that imported by the user. I read the Revit API documents and figure out...
View ArticleRe: Select Room Edges
Hi, we also faced problems getting the room boundaries, several times in the past.There is another method to get the polygons, e.g. usingExporterIFCUtils.GetRoomBoundaryAsCurveLoopArray.Also, one could...
View ArticleRe: How to set the Image path to the ApperanceAssetElement of a Material
FYI, I am using the revit 2016 which don't contains the AppearanceAssetEditScope API.
View ArticleRevit crashes on debug mode
Hi guys,I am getting a very strangte error messege when I launch debug mode in VS 2019. Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'C:\Program...
View ArticleRe: Revit crashes on debug mode
Hi ,Can you try using the steps mentioned in the below linkshttps://forums.autodesk.com/t5/revit-api-forum/advice-on-debugging-c-in-visual-studio/td-p/6496811 Which .Net framework version are you...
View ArticleRe: View Crop Region Shape Manager of Elevation View locking the crop view
Hello,Thanks for the tip. This should actually solve the issue. Although, I do not currently have time to rewrite my code. The only alteration I have to make is to cut the room bounding box in half, so...
View ArticleRe: How to export pipe using CustomExporter?
Since I am new to Revit, I didn't know that view's leveldetail has to be set to FINE to export pipe.I hope it will help somebody save time.
View ArticleRe: How to export pipe using CustomExporter?
Congratulations on solving this and thank you for letting us know!
View ArticleRe: Best practice for multiple ExternalEvent modules
I would suggest a mixture of the two: Use one single request handler and include additional data in the request to route it to different submodules processing the different requests.
View ArticleRe: Generate 3d view that uses Pickbox as a sectionbox
Hi that make sense now. It works i just need little bit of massaging to my code. I can go from here. Thanks a lot!
View ArticleRe: TaskDialog and FileName
I would suggest avoiding displaying such a long path visually to the end user at all. What is she supposed to do with it? No human being can reliably read such a long string on a regular basis without...
View ArticleRe: TaskDialog and FileName
If the Revit TaskDialog does not suit your needs, you can always use a Windows MessageBox instead, or create your own modal Windows form to convey the required information and functionality...
View ArticleRe: IUpdater in a project macro on startup
I got it working using the code from boostyourbim linked above. The steps I followed: 1. Use MacroManager to create a new C# module. 2. Edit the new module in SharpDevelop. 3. Add RegisterUpdater() to...
View ArticleRe: Dynamo script in Revit API
Okay I have it running. Don't use a transaction in the Plugin code, let dynamo handle the transaction independently. I had to reference a lot of .dlls (see the image below) I may have went overboard....
View ArticleRe: Dynamo script in Revit API
I'm out of office this week, but I will try this as soon as I can, even if by RDP. This is awesome!
View ArticleRe: Element is there but not there
thank you for answering. Yes I know how to find both. My question is when I find the instans there is a few of them has a name but no Id and when I tried to find them by name nothing shown, only a few...
View ArticleElement.GetPhaseStatus returns None unexpectedly.
I have several Family Instances created in the New Construction Phase, with no Demolished Phase. When I call element.GetPhaseStatus with the New Construction Phase Id, it returns None, instead of New....
View Article