« Curve Following Face and Bounding Box Implementation | Main | GeoSnoop .NET Boundary Curve Loop Visualisation »

April 05, 2013

Comments

Can you please give me some useful hints about how to display a form with controls and interact with revit
thanks sir

Dear Yasser,

Sure. Look at the Getting Started material, the SDK samples, and previous blog posts.

Cheers, Jeremy.

Thanks Jeremy,

I am using Micosoft Visual Express 2012 for Windows Desktop and noted in the link http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=16849339

Step 3 Save the project:
On the File menu, click Save All. In the display window type C:\test in the Location box, and then click Save.

Ok, so I did, but the part about "display window type C:\test in the Location box" didn't provide any pop up to define the save path as C:\test so to leave me high and dry perhaps.

Currently the project is saved to this path C:\Users\david metcalf\Documents\Visual Studio 2012\Projects\Lab1PlaceGroup\Lab1PlaceGroup\ which I assume is the default for VB 2012.

So I decided to leave that thinking it is a VB 2013 thing. Ok, so proceeded with the next several steps as outlined in the rest of the tutorial. (I chose to ignore the MISL Processor warnings for now) After which the I created the AddIn Manifest. I intended to change the 5th line for the location of the dll file from C:\test\Lab1PlaceGroup\Lab1PlaceGroup\bin\Release\Lab1PlaceGroup.dll to C:\Users\david metcalf\Documents\Visual Studio 2012\Projects\Lab1PlaceGroup\Lab1PlaceGroup\bin\Release\Lab1PlaceGroup.dll and couldn't find the expected path ..\bin\Release\ or the dll file.

I think at step three I went 90 degrees somehow.

Any suggestions to getting on track here and find that dll file or did some how it not be created? I did a search and no Lab1PlaceGroup.dll file was found

Thanks, David

Dear Jeremy,

I want to draw a RevisionCloud in Revit using C# programmatocally. I tried to generate a macros, it's not working. I have a collection of Points. will you please help me in this. I am trying some demo application.

Thanks and Regards,
Vidyasagar Apgunde

Dear Vidyasagar,

I do not believe that the Revit API currently provides directly support for the insertion of revision clouds.

You could try launching the built-in Revit revision cloud command programmatically instead.

Look for UIApplication.PostCommand in

http://thebuildingcoder.typepad.com/blog/2013/04/whats-new-in-the-revit-2014-api.html

Cheers, Jeremy.

Dear David,

Nope, sorry, no idea.

Did you find a solution, meanwhile?

Cheers, Jeremy.

Hi Jeremy,

I got pulled onto a project so haven't revisited it. I'll need to find some one more cognizant of the VB 2012 software. Think the tutorial was written with VB 2005 as a programming medium. Oddly enough, after a search, there is no relevant dll file to be found on my hard drive.

Thank,
David

Hello Jeremy,

I have got a two questions.

Is there any way to extract project's model geometry and material properties in one file? (in text format, such as .xml)
The case is that..We are working on the idea of itegration of fire simulation engine with Revit. So what is critical is to have geometry of building model as well as the material properties (such as resistance or thermal mass) as an input data for fire simulations.
Alternative solution could be to somehow export Revit data (geometry, properties) into Visit software (visualization software where our simulations could typically run)Is this implementable?

The worst part is that I am pure beginner in Revit API.And do not know how to better approach this deal.

Hope for your help!

Thanks
Alexey

Dear Alexey,

Sure that can be achieved.

Look at the custom exporter:


Graphics Pipeline Custom Exporter
Texture Bitmap and UV Coordinates
ADN Mesh Data Custom Exporter to JSON
Determining Absolutely All Visible and Hidden Elements


Cheers, Jeremy.

Jeremy,

Thanks for your response.

I read through all of the links you've provided and I also tried custom exporter xml. It looks great but I still can't find a thermal properties of my model's elements in the exported xml file.

I made a little research by Revit LookUp and figured out that thermal mass/resistance are linked to my geometry through "object type" and its parameters. So I guess, custom exporter exports just parameters that appear visually (texutre, glossiness etc.) but not linked parameters such as thermal properties. Is it right, Jeremy?

If yes, is there alternative ways to obtain these thermal parameters with geometry? Or I need to export geometry and thermal properties separately and then (somehow) link them together?

Thank you
Alexey

Dear Alexey,

What you say makes a lot of sense.

When you implement your custom exporter, you can easily query the element providing the geometry for its type, and query that in turn for the required properties, and combine all the data of interest in you output in any form you like.

Cheers, Jeremy.

Thank you for your help, Jeremy

Best,
Alexey

Dear Jeremy,

Thank you..

Sorry for late reply.....

Hi Jeremy,
Do you know if this API can be used by other application (not as a Revit plugin) to read and convert Revit files. Do you think the license permit this?
Thanks
Eric

newbie to this, so thanks for info: I'm in the middle of looking into this, and ran into some problems with the 'My first Plugin' tutorial.
Using the MS VS s/w (express 2013? i think, under crap win 8.1), and typed in the first plug in code, but refuses to build...
i thought i might have to 'downgrade' to the 2010 version, since that appears to be what the tuts are based on, but it appears others have done this exercise with 2013 versions...
the other confusing part is, .NET is apparently installed in several flavors, but none of them appear to work with the build...
is there something stupidly obvious i am overlooking ? not conversant enough with this to know where i am going wrong...

Hi Jeremy,

İ have installed revit 2015 and SDK 2015 but when i create module for creating macros,i get an error 'loading the Macro failed'.So I cant start to create macro.İ couldn't find the problem.İ hope you can help me...

Dear Mehmet,

No, I do not know what the problem might be.

I googled for "revit 2015 loading the macro failed" for you, but nobody else seems to be observing such an issue either.

Good luck resolving it.

Cheers, Jeremy.

Dear Jermy,

I very appreciate for your web page and reply message, that is very useful for us. Let me know one thing , I wanna automatically layout the sprinkler point in Revit MEP base on the link autocad which already have layer name for sprinkler.I mean, API can read the autocad layer name, after that sprinkler point put in that layer name object. I wanna write a API for these issue, Is it possible?

Best Regards,
Naing Oo

Dear Than Naing Oo,

Thank you for your appreciation.

It sounds perfectly possible to me.

If you need to interact with AutoCAD and you have both AutoCAD and Revit installed on the machine, you can make use of the AutoCAD.NET API from within your Revit add-in.

Cheers, Jeremy.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)

Jeremy Tammik

AboutTopicsIndexSource