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

Re: Modeless Form timer does not tick until after processing is complete

Dear David, To do you have to use Invoke method. Timer tick is not working. Steps:  Step 1: Make function asyn.Step 2: Invoke progress bar method. Example: private async void funcationName(){  //...

View Article


Re: Hierarchy of Revit Elements

Thank you for clarifying. Yes, you can definitely define 'unplaced' rooms which are not associated with any BIM geometry whatsoever. They can be used for space planning purposes, e.g.

View Article


Re: objCategoryNameMapIterator Erase Collection is Read only Purge line styles

Maybe this solution can help? http://thebuildingcoder.typepad.com/blog/2012/10/deleting-a-graphicstyle-element.html Cheers, Jeremy

View Article

Re: Transforming point coordinates

Do I have to do something like this: where transform is of the O' family and point is the Location as LocationPoint for points which I need to transform public static XYZ TransformPoint(XYZ point,...

View Article

Re: Units of Global parameter value

For further reference, since I couldn't find any good explanations how to convert the internal value to project units and vice versa, I found this way through the Revit API: gp_type =...

View Article


Material CutPatternColor

I'm changing the cutpatterncolor programmatically.In the material-browser willdisplay correctly;intheviewitis displayed incorrectly!I have regenerate also the document, but nothing changed. 

View Article

Re : How to get the file location of a PointCloud file

Hi Jeremy, Since this old story, I've been upgrading to 2016 (have to follow the customer's  version) but still couldn't find anything for the full path of the cloud points. do you know if there's a...

View Article

Re: objCategoryNameMapIterator Erase Collection is Read only Purge line styles

I just implemented a new external command in The Building Coder samples for this:...

View Article


Re: Create reference line in detail family

Dear Jon, Thank you for your patience. I heard back from the development team now. They say that there is probably no way to create a reference line in a detail or 2D family right now. I accordingly...

View Article


Re: Create FilterRule: get "ParameterId" without elements

Thanks,This method works good, but only for shared parameter. FilterRule also want to works with BuiltInParameter and ProjectParameter. Seems to be, collector and LookupParameter is only one way in...

View Article

Retrieving the file path of nested CAD files

in Revit 2016, I can get the list of the CAD files attached (in this instance, AutoCAD) and their path using something like  Select Case extRef.ExternalFileReferenceType Case...

View Article

Re: Current schedule row?

You're right--good tip. I ran a few tests, and UIDocument.Selection returns the elements that correspond to the currently selected schedule row. I tested a standard schedule of ElectricalEquipment. The...

View Article

Re: Current schedule row?

Great, glad it helped.And thanks for the Kudos!Eric Rudisaile | Solutions Specialist | MEPMICRODESK, INC.main: 800.336.3375www.microdesk.comfacebook | twitter | linkedin | youtubeVision. Tools....

View Article


Re: Find Views in which an element is visible (by geometry or actual visibility)

JeremyThanks for your reference to the sample code and the brief history of this. Your link: http://thebuildingcoder.typepad.com/blog/2014/05/views-displaying-given-element-svg-and-nosql.html#6 I am...

View Article

Reference to annotation familyinstance

Hi, sorry for repeating the same subject again, but none of the solution in the forum or other place gave me a solution so far. I want to align an annotation symbol with a reference plane in a family...

View Article


Re: Find Views in which an element is visible (by geometry or actual visibility)

Dear Abba, I think the blog post is pretty clear on that: "Here is the CmdViewsShowingElements implementation including Colin's two extension methods:..." What more can I do to clarify? Please note...

View Article

Re : How to get the file location of a PointCloud file

Hi, a quick search in the RevitAPI.chm for 2016 says that there is a PointCloudType.GetPath() method.May this help ?  Revitalizer

View Article


Re: Retrieving the file path of nested CAD files

The Revit API does not enable you to dive into the internals of a DWG. You can use the AutoCAD.NET API to achieve that. You can easily use the AutoCAD.NET API from within your Revit add-in, provided...

View Article

Re: Retrieving the file path of nested CAD files

As usual, thanx Jeremy for the quick answer... Yes I could however, that would mean that AutoCAD MUST be installed on the machines running Revit too, which on my dev/test environment is the case....

View Article

Re: Find Views in which an element is visible (by geometry or actual visibility)

Hi Jeremy,What I wanted to clarify was this:In the 'original' code, (which I haven't seen), Colin raised the concernthat when checking each view for element visibility, Revit would essentiallyhave to...

View Article
Browsing all 66692 articles
Browse latest View live


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