RevitCity.com Logo

Home  |  Forums  |  Downloads  |  Gallery  |  News & Articles  |  Resources  |  Jobs  |  FAQ  |  SearchSearch  |  Join  |  LoginLogin

Welcome !

77 Users Online (76 Members): Show Users Online - Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM

 

Forums

Forums >> Workflow & Implementation >> API & Third Party Apps >> Get the Radius of a Circle (model line)

Search this ThreadSearch this Thread | Page 1 of 1 |

Thu, Feb 9, 2012 at 9:12:58 AM | Get the Radius of a Circle (model line)

#1

habib455


active

Joined: Thu, Jun 23, 2011
8 Posts
No Rating


Hi,

i want to get the Radius of a circle. I drew this circle by using the model line.

With the following Code i can collect all model line not only the circles but what i want is only the circles and their Radiuses:

 

Document document = commandData.Application.ActiveUIDocument.Document;

UIDocument uiDocument = new UIDocument(document);

FilteredElementCollector collector = new FilteredElementCollector(uiDocument.Document);

ICollection<Element> collection = collector.OfClass(typeof(CurveElement)).ToElements();


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

variable line radius

Revit Building >> Technical Support

Wed, May 4, 2011 at 5:48:16 PM

5

Three point curve

Revit Building >> Technical Support

Tue, Sep 8, 2009 at 8:07:35 AM

3

Simple Dynamic Family

Revit Building >> Technical Support

Fri, Nov 21, 2014 at 10:09:44 AM

2

Parametric Circular Column...Offset issues

Revit Building >> Technical Support

Tue, Jul 17, 2012 at 12:42:38 PM

4

Help with Geometry

Revit Structure >> Technical Support

Sun, Dec 20, 2009 at 12:48:13 AM

3

Site Stats

Members:

1976917

Objects:

22860

Forum Posts:

152166

Job Listings:

3

Sponsored Ads

Home | Forums | Downloads | Gallery | News & Articles | Resources | Jobs | Search | Advertise | About RevitCity.com | Link To Us | Site Map | Member List | Firm List | Contact Us

Copyright 2003-2010 Pierced Media LC, a design company. All Rights Reserved.

Page generation time: 0.8105

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights