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

Re: Missing method on some machines but not others

I don't mean to respond to myself so much, can't edit. I've taken out any checks for subscription and removed the Title function from the AddIn entirely.That allowed it to work. I compared the...

View Article


Re: Key Schedule + Revit API

Ah! I see. Now just to make it clear for everyone here's what reall happens:  Each row in a Key Schedule is an Element that contains a set of Parameters. Parameters represent each column of the...

View Article


Re: Key Schedule + Revit API

Thank you for making that clear!Not all parameters are representing a field in the key schedule, though. But that can be easily filtered out by checking the parameter's definition name toward...

View Article

Re: Help me to change the Code in SharpDevelop from Application to Project Macro

i want to change below macro from Aplication macro to Project Macro:publicVoid CropViewBySelectionCS(){UIDocument uidoc= this.ActiveUIDocument;Document doc= uidoc.Document;IList<Reference> refs=...

View Article

Enlarge boundingbox

Hi, I'm looking to use a bounding box to find the air devices associated with a room.  I can get a boundingbox from room.getboundingbox, and I can use filteredelementcollector to get air devices but...

View Article


Re: Can conduit connect to cable tray by using API?

Hi, CreateConduitConnector is a method of the ConnectorElement class which represents Connector Elements in the Family environment.In Project context, there are no ConnectorElements but Connectors,...

View Article

Get category parameters

Hello everybody! I am new to Revit API, and I don't manage to find away to get all the properties available on a FamilyInstance without having a family instance. So I need to get all the parameters for...

View Article

Does Catia file will support revit program

Dear Revit Team Could you help me by reply, I facing diffculty in opening DXML file format in Revit, Basicall the complet model is done in CATIA ,If it does not.... how can i open it. kindly reply me...

View Article


Re: How To Convert Autocad Point to Revit Coordinates Using Revit API

Yes the units is one factor. Also, if you linked the AutoCAD file Origin to Origin, and the units were correct, then the point XYZ should match without Sharing Coordinates.

View Article


Update image or text on stacked ribbon item

This is about the tooglebutton challenge.http://thebuildingcoder.typepad.com/blog/2012/11/roll-your-own-toggle-button.html Im testing using the ribbon instead of a windows form.With the intention to...

View Article

Calculating excavation volume in multiple levels

Hello,assume we have a topography with 20m depth and sloped edges, "Cut" parameter of element returnes total volume of excavation, but i need to know how much excavation is between 0 and 2 m depth, how...

View Article

Re: Enlarge boundingbox

Hello, you can get min and max point of your boundingbox, and then manipulate xyz of these two points and then create an outline from your new points: xyz point1 = yourboundingbox.min; xyz point2 =...

View Article

Re: Calculating excavation volume in multiple levels

Are the volumes convex? I would just grab the XYZ points and calculate the volume directly from those: http://thebuildingcoder.typepad.com/blog/2009/06/convex-hull-and-volume-computation.html

View Article


Re: Does Catia file will support revit program

 Dear Srikanth, Do you mean 3DXML? https://en.wikipedia.org/wiki/3DXML I am not aware of any support in Revit for 3DXML. Further, is this a Revit API issue, or an end user question? Are you doing...

View Article

Re: Get category parameters

If all else fails, you could create an instance of the type you need in a temporary transaction, and then abort and roll back the transaction after determining what parameters it is equipped with...

View Article


Re: element.document performance with A360

Thanks for investigating this Jeremy. I will be traveling all next week and will have to wait until I return to investigate the answers to your questions and mock up a test case.  But I will update you...

View Article

Re: Calculating excavation volume in multiple levels

Thank you for your recommendation, but i did more than "minimal" search, not only in .chm but also in api developers guide. i think here is a place to exchange ideas and solutions, i first introduce my...

View Article


Re: Calculating excavation volume in multiple levels

Thank you for clarifying the research you did. That helps a lot, and I was not previously aware of that. If you have a mesh from the topography element and it represents a volume, you might be able to...

View Article

Re: Calculating excavation volume in multiple levels

Thank you for introducing TessellatedShapeBuilder,however, we need some "face" to create a solid using TessellatedShapeBuilder, and we don't have any faces, just a mesh with its triangles.as far as i...

View Article

OwnerViewId doesn't report Dependent view Id of annotation element

Hello, We have multiple tools in need of getting the Id of the dependent view that an annotation is on such as symbols and revision clouds.  Currently, the parent view is reported regardless of whether...

View Article
Browsing all 66662 articles
Browse latest View live


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