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

Re: Call function in external dll in Revit2016R2 doesn't work.

Please check your VS project build first (64 vs 32 bit) maybe this is the problem. If not please clarify more about what you are doing. If this reply satisfies your need please don't forget to mark it...

View Article


Re: How to get all Family in Project Document

Ok thanks for that, this code is working fine.I just found the mistake after I catch the Family list.  collector = new FilteredElementCollector(doc).OfClass(typeof(Family));  

View Article


Image may be NSFW.
Clik here to view.

Re: Call function in external dll in Revit2016R2 doesn't work.

Hi, I'm 64 bit s..

View Article

Re: Call function in external dll in Revit2016R2 doesn't work.

hi,I'm in 64 bits.

View Article

Re: Revit 2017 is hanging up and don't show the ModelLines

First of all have you considered inclusing your ModelCurve creation in an transaction. Second have you checked the Failure events?

View Article


Re: Applying Material to solid

hi Jaime, how to use Paint() to add the material to an existing solid?http://forums.autodesk.com/t5/revit-api-forum/assign-material-to-directshape-via-paint/td-p/6709367

View Article

Re: assign material to directshape via paint

thanks Mustafa for your reply. I noticed that I cannot paint directshape element in the GUI so I assume it's not doable via...

View Article

Re: Call function in external dll in Revit2016R2 doesn't work.

Try to set it to Any CPU and recompile then run.

View Article


Re: Revit 2017 is hanging up and don't show the ModelLines

Another thing if you use lines less than 0.0026 feet Revit crashes.

View Article


Re: Call function in external dll in Revit2016R2 doesn't work.

Sorry, i test "any CPU" no change..

View Article

Re: Check if an Element is of Room type?

You can filter by category or you can check the category name of the element if it equals Rooms. Please have a look on the following code and if it satisfies your needs mark this reply as an...

View Article

open source IFC export settings

hi i am trying to configure the open source IFC exporter programmatically->(Export schedules as property sets)->->Export only schedules containing IFC, Pset or Common title is that possible? 

View Article

Re: Set distance methods of rebar constraints not working

Me need to add  rebman.SetPreferredConstraintForHandle(hnd, constr); after SetDistance and its work.Also changing RebarConstraintsManager.IsRebarConstrainedPlacementEnabled is not necessary.

View Article


Re: Set Papersize/Orientation

Hi You may have figured this already as you posted about a year ago, but I had a similar problem which now seems ok. You need to save and apply the changes before submitting the print. Note that saving...

View Article

Re: Call function in external dll in Revit2016R2 doesn't work.

OK have you tried to debug the code line by line to trace where the exception occurs?

View Article


Re: How to Get the geometry of family which the curtain wall belong?

thanks very much ,I will try it

View Article

Image may be NSFW.
Clik here to view.

Re: How to Get the geometry of family which the curtain wall belong?

thanks very much,I will have a try on it

View Article


Re: Revit 2017 is hanging up and don't show the ModelLines

I Tried to catch the failure event. In This Case if number of lines  drawn are more than 170,then Revit is hanging otherwise it is working fine. No failure found in the code,the code is working fine....

View Article

Re: How to Get the geometry of family which the curtain wall belong?

I find it can get the materials of a panel ,but not material of the particular parts in a panel,I have try to do it by get materials of different faces from different solids in panel'sgeometry ,but I...

View Article

Image may be NSFW.
Clik here to view.

Re: How to Get the geometry of family which the curtain wall belong?

I wonder if we have a way to get the material of a particular part of the element by get this part elemment directly instead of cycling through the GeometryElement parts to get the solids, and from the...

View Article
Browsing all 66662 articles
Browse latest View live


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