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

Re: Revit plugin to convert Rhino to Revit

thanks MUSTAFA for the link!

View Article


Re: Where is the 2015 DB link plug-in.

Try to put the .addin and the .dll file in the 2015 folder and tell me.

View Article


Re: Parametric Frame - beams and pillars connected

Please provide the family file so I can see if I can help with Dynamo.

View Article

Crash on TableSectionData.GetTableCellStyle call

This code crashes Revit (2015, 2016 and 2017 on Windows 10): [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] class TestCommand : IExternalCommand { public Result...

View Article

Re : Crash on TableSectionData.GetTableCellStyle call

Tried on another computer, same result.

View Article


Image may be NSFW.
Clik here to view.

Re: vertical NewOpening gives error "Can't change plane of Opening Cut Sket

Hi Harry, Jim,  Haryy's video gave a hint to look at the opening profile from a different angle.  The first two set of image shows face-based opening; the third and fourth vertical.  As you can see...

View Article

Re: Can I use DocumentWorksharingEnabled event to add worksets?

Thanks Mustafa, your code worked perfectly. I never considered the Idling event. (I'm embarrassed to admit that this is the first time I've used idling!)

View Article

check if element is in a group

I have seen the posts on finding the elements in a model group.I have also noticed that the filtered element collectors will find elements that are inside groups.  (e.g. filter for all walls, and I get...

View Article


Re: Exporting/importing 3D and metadata from revit files to custom format

Hi Jeremy, Can you point me to a relevant post on your blog ?

View Article


Re: check if family passes audit

Use the Faliur events to test if the audit process succeeded or not. Try it and tell me.I guess you can look for "BuiltInFailures.FamilyFailures.UnableToUpgradeDueToCorruptFamilies"

View Article

Re: check if family passes audit

Thanks, will do so when I find the time

View Article

Re: Camera zoom and orientation compatibility between 2D and 3D views

Thanks for your reply but i already get the answer ! For those who wondering : I get the camera orientation this way :ViewOrientation3D direction = new ViewOrientation3D(eyePosition, upDirection,...

View Article

load and place an familyobject => System.NullReferenceException

Hi all,  i am trying to load and place an familyobject.i am using this topic from jeremy tammik: http://thebuildingcoder.typepad.com/blog/2013/06/family-api-add-in-load-family-and-place-instances.h......

View Article


Re: How to set IFC classes in Revit IFC export in C# (Dynamo ZeroTouch)

Thank you. It works, but why is the same table caled ExportIFCCategoryTable and FamilyMappingFile? I get en error if the file do not start with "exportlayers". How come? I see no rulesabout  naming i...

View Article

Re: load and place an familyobject => System.NullReferenceException

Here is the solution public void FloorMacro() { UIDocument uiDoc = this.Application.ActiveUIDocument; Document doc = uiDoc.Document; XYZ location = new XYZ(0, 0, 0); string filePath =...

View Article


Re: Update boundry on a Filled Region

Please provide a sample code so we can help.

View Article

Re: Linked cad Info

Please provide a sample code to see if I can help.

View Article


Re: Stirrup Modelling

This didn't word either.I forgot to mention that a transaction is already started a few lines above and commited later. If i add only one Curve to the IList<Curve> curves and then start the...

View Article

Re: Stirrup Modelling

I noticed that even the API guide uses one curve per array (I don't know whay they do this in first place. My guess they do a curve array for multisegment rebar). So please try this: for (int k = 1; k...

View Article

Re: Stirrup Modelling

I tried it and it gave me same result as a similar code i tried yesterday.Revit now creates a group of 4 rebars that look like a stirrup but in fact are not connected to each other.Even it looks okay...

View Article
Browsing all 66666 articles
Browse latest View live


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