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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: Call function in external dll in Revit2016R2 doesn't work.
Try to set it to Any CPU and recompile then run.
View ArticleRe: 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 ArticleRe: Call function in external dll in Revit2016R2 doesn't work.
Sorry, i test "any CPU" no change..
View ArticleRe: 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 Articleopen 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: How to Get the geometry of family which the curtain wall belong?
thanks very much ,I will try it
View ArticleRe: How to Get the geometry of family which the curtain wall belong?
thanks very much,I will have a try on it
View ArticleRe: 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 ArticleRe: 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 ArticleRe: 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