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

Re: ViewOrientation3D and rotation of camera

It seems like my pivot point isn't ok because the model is turning around the right direction but not in the right place.I can see my model translation and turning around a far pivot point.I'd like to...

View Article


Re: Duplicate Sheet...what am I missing?

Once again, thanks for your help. I think i understand the difference to go from macro to API. I need a execute command with an IExternalCommand. I removed the auto text containing the macro startup....

View Article


Re: Duplicate Sheet...what am I missing?

My mistake.  I didn't realize you were working in Visual Studio.  Looking back, I realize you did say API. Try this: UIDocument uidoc = commandData.Application.ActiveUIDocument;  

View Article

Re: Duplicate Sheet...what am I missing?

"The name 'commandData' does not exist in the current context" I'm missing some sort of reference, aren't I?

View Article

Re: Duplicate Sheet...what am I missing?

Did you put it inside the Execute method?  CommandData is the first variable passed in the execute method - ExternalCommandData commandData. And you do need to add references to revit.  See the My...

View Article


Re: OnShutdown sometimes not called

Dear Jan, Thank you for your interesting report. I logged the issue REVIT-94024 [OnShutdown sometimes not called -- 11910156] with our development team for this on your behalf as it requires further...

View Article

Re: Problem by creating Revit families

Creating Revit families from imported CAD geometry from other CAD systems (e.g. DWG files, for example) has many limitations, two of which you have discovered.   RFA files created by importing CAD also...

View Article

Re: instant fittings at pipe connections

Dear Kevin, Thank you for your new query. Glad the previous answer helped. Thanks to Revitalizer for his valuable suggestion. Afaik, there are in principle two ways to achieve what you need: Place...

View Article


Re: Best way to Programmatically Set up an Algorithm for editing existing elemen

Dear Roberto, Thank you for your query. I already answered the identical question of yours on StackOverflow:...

View Article


Re: Duplicate Sheet...what am I missing?

Yupp I did. I'm with you so far and I have followed the tutorial many times. I've managed to create several tools that work. For some reason I can't figure out why this one doesn't. The references are...

View Article

Re: Stirrup generation through Revit API 2015/16

Many thanks for your support.The program did constructed the stirrup, but we wanted stirrup with   135 degree hooks.We were able to apply 135 degree hooks but the rebar style was Standard. Whenever, we...

View Article

Re: Stirrup generation through Revit API 2015/16

Ok can you please send a sample RVT file?If there is an image that shows the shape of the stirrup you want that will help.

View Article

Re: Stirrup generation through Revit API 2015/16

Dear Mustafa,We want the T1 shape.Does it help you or should we send the file?ThanksVikram

View Article


Re: Stirrup generation through Revit API 2015/16

Pardon me, I'm not a structure engineer so it would be so helpful if you send me the sample or the shape of the stirrup.

View Article

Image may be NSFW.
Clik here to view.

Re: Stirrup generation through Revit API 2015/16

Many thanks for your prompt reply.I am sending the image file. The outer rectangle is the column outline. You should concentrate on inner rectangle with hooks which is a stirrup.Also I have attached...

View Article


Re: Duplicate Sheet...what am I missing?

Ok I got it to build but it wont work in Revit. Missed to add a return... *sigh Still no go thou... This is driving me insane... using System; using System.Collections.Generic; using System.Linq; using...

View Article

Convert Family & Project Parameter to Shared Parameter Programmeticaly

Hello,          I want to convert family parameter and project parameter to Shared Parameter and that converted parameter store into notepad file. How I convert it using API? 

View Article


Image may be NSFW.
Clik here to view.

Re: Stirrup generation through Revit API 2015/16

I think this will be the end of your suffer :  #region Namespaces using System; using System.Text; using System.Linq; using System.Xml; using System.Reflection; using System.ComponentModel; using...

View Article

Re: Stirrup generation through Revit API 2015/16

That's it!!! We were trying for last whole month. Many thanks.

View Article

Re: Duplicate Sheet...what am I missing?

You might need to change your namespace back to Duplicate_Sheet or whatever matches your addin file.And you have to be in a sheet view when you run it. (for some reason I needed a sheet with a title...

View Article
Browsing all 66666 articles
Browse latest View live


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