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

Re: Adding Combox to the toolbar

I expected that answer ... I don't want to fight against Revit so I decided to solve the problem with a Windows Form.Looks uglier at the beginning but after some days of use, it does the job. Thanks...

View Article


Re: .NET version error with Revit 2019

"The .NET Framework 4.5 and later versions are backward-compatible with apps that were built with earlier versions of the .NET Framework."I would recommend switching all of your projects to 4.7 to make...

View Article


Re: Adding Combox to the toolbar

Hi, you could add an Autodesk.Revit.UI.ComboBox to your ribbon menu, no need to use a Windows.Form.There is a sample called "Ribbon" in the SDK. Revitalizer

View Article

'PanelScheduleSheetInstance' object has no attribute 'Export'

I'm trying to export  via Python the Electrical Panels Schedules, and I get this error:  'PanelScheduleSheetInstance' object has no attribute 'Export' I collect all Panel Schedules using:MY_SCHEDULES =...

View Article

Re: ElevationMarker does not Rotate 180 deg

Dear Graham,Thank you for your update.Looking forward to the standalone macro self contained in one file.In the meantime, the development team closed your issue REVIT-132231 [RotateElement used on...

View Article


Move Group Origin

I need to make some changes to groups, so I am going the route of ungrouping, regrouping, and changing types. Unfortunately, this leads to some group origins being moved from their original group...

View Article

Image may be NSFW.
Clik here to view.

if condition in parameter value dont work

i have a problem with my code when i want to create if condition in value of my parameters and run the code .the code dont work and massage box wasnt show. this is my code  FilteredElementCollector col...

View Article

Image may be NSFW.
Clik here to view.

Generate Layout of MEP Systems

There is some way to generate the layout of the Duct System by code, I'm creating the Mechanical Systems with NewMechanicalSystem but I need to show the ducts and connectors 

View Article


Re: Surprising results from Face.Intersect(face) method

The development team examined the issue that I raised for this and discovered it is a duplicate of an existing older issue, REVIT-58034 [API Face.Intersect(Face) returns true even if two faces don't...

View Article


Run Journal File via Process

Hello, I am trying to run the below, which is via a Consul or Windows exe.This works, when process.Start(); is fired and the Consul or exe closes. private void runMe() { string processPath =...

View Article

Re: if condition in parameter value dont work

Instead of using p.asString() try using p.AsValueString() this will return the value of the parameters.

View Article

Re: Run Journal File via Process

Ok found the problem, it wasn't the code itself, but the way the journal file was being created. The journal file is being created in code also based on a series of parameters, then processed, I had to...

View Article

Re: Surprising results from Face.Intersect(face) method

I'm not surprised that this has been reported before, I am surprised that it hasn't been resolved. How critical is this, really? I suppose in the grand scheme of things, not all that critical. However,...

View Article


Re: Surprising results from Face.Intersect(face) method

I fully agree with what you say and am passing it on to the development team for their consideration. Thank you! Cheers, Jeremy 

View Article

Re: Problem with solid creation by TessellatedShapeBuilder

Update: Erik reports that it sometimes does not work even if all triangles have been adjusted so no angle is smaller than 1 degree. Also, in some cases, it does work, even with angles that are smaller...

View Article


Image may be NSFW.
Clik here to view.

Hide View Filter from List

Hi Everybody, I actually have a Revit Plugin who build some View Filter with different rules ( see example below). In some Case, the Plugin can build up to 40 Filters and that make it after difficult...

View Article

Image may be NSFW.
Clik here to view.

Re: Ribbon Panel items are disabled when 3d view is activated.

Same plugin works in Revit 2018 with no code changes.Ribbon panel items are not disabled when 3d view is activated.

View Article


Re: Run Journal File via Process

Dear Chris,Thank you for your initial query and above all for sharing how you fixed it.Best regards,Jeremy 

View Article

Re: MemberIds of group returns in different order

Dear Joris, Thank you for your query and update. I assume you are referring to the return value of the Group.GetMemberIds method:...

View Article

Re: Ribbon Panel items are disabled when 3d view is activated.

Hi, in the Revit 2018 SDK, there is a "Revit Platform API Changes and Additions.docx".On the very first page, it says:"Most commands allowed in 3D orthographic views are now also allowed in perspective...

View Article
Browsing all 67020 articles
Browse latest View live


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