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

Re: Revit Color Picker

Thank you for the response

View Article


Re: Calling OpenAndActivateDocument during events

Thanks for replies...I'm almost sure that I have already tried this. I will double check. Actually in the Revit 2017 SDK I was able to open the document this way. Problem occurs when I downgraded to...

View Article


Re: Calling OpenAndActivateDocument during events

Hi Adam,I read it here: http://www.revitapidocs.com/2017/3b3d671d-47ec-2ed8-1818-a7c19d01884b.htmSearch for InvalidOperationException

View Article

Re: How to get/set non-shared Parameter ToolTip in Revit 2015?

Dear David VanSlyke, I checked the accordingly Revit wish list CF-1896 and I am sorry to say that there is currently no API access to this functionality yet. As this issue requires exploration and...

View Article

no materials in FBX

Hello, When I save my revit file as an FBX and open the fbx file into other programs like unity, maya, 3ds Max, building appears but the textures are all missing.How can save the FBX files and retain...

View Article


SKETCH_PLANE_PARAM read only

Hi, is there a way to set the work plane for an element via the API. Following code doesn't work: Parameter p = c.get_Parameter(BuiltInParameter.SKETCH_PLANE_PARAM); if (p != null) { p.Set(r.Name); }...

View Article

Wall Set Top Constraint Parameter.

Hi API Community,  I've created a wall through the API it set the Top Constraint to Unconnected.  I'd like to set the Top Constraint parameter to a level and remove the Unconnected Height.  Is this...

View Article

Re: Calling OpenAndActivateDocument during events

Thanks Matthew, you are right. Although it is strange that it worked for me in 2017. I used it in the IExternalApplication and the IExternalEventHandler.I will try to solve my case in different way....

View Article


Re: Securing my 2D detail item components by the Licence Procedure of the instal

All of the above is logically rightI spent and will spend a lot of time creating my app and supporting itI know the family will be useable without my UIFortunately Some will be satisfied with thatI...

View Article


Re: Wall Set Top Constraint Parameter.

Hey Danny, you can set the top of the wall to a level you want, with Parameter p = wall.get_Parameter(BuiltInParameter.WALL_HEIGHT_TYPE); if (null != p) { p .Set(level.Id); }Hope this helps.Christian

View Article

Re: Fail to get reference for grid for dimension in 2017

I didn't try the code, but maybe this works: Grid g = Grid.Create(doc, Line.CreateBound(new XYZ(0.0, 0.0, 0.0), new XYZ(10.0, 0.0, 0.0))); Reference r1 = g.Curve.GetEndPointReference(0); Reference r2 =...

View Article

Re: Wall Set Top Constraint Parameter.

Thank you.  I've been looking for some time and trying all sorts of things that didn't work.  This is perfect.   

View Article

Re: Wall Set Top Constraint Parameter.

You are welcome and I hope you enjoy your coffee.

View Article


Re: How to find number of Reference Planes passing through a selected wall.

Use the geometry of the wall and reference planes. Get the location of the wall:  LocationCurve l = wall.Location as LocationCurve;and check against all the ReferencePlanes in the document:...

View Article

Image may be NSFW.
Clik here to view.

How to trigger OnIdle event or execution of an ExternalEvent without user input

Hi,First , If you don't want to read everything just go directly to the blue code section If you bumped into this by now you probably already know that it doesn't matter what method you use to execute...

View Article


2 Questions: How to change Revit Application Title Caption and OOTB progressbar

How do I change the Revit Application Title Caption?  If I cannot change it, how can I just get the string?  Like this string:   "Autodesk Revit 2015 - STUDENT VERSION - [Floor Plan: Level 1 -...

View Article

Re: How to manipulate the "Project Browser" when programmatically acti

Mustafa,Thanks so much for that link.  It truly is a goldmine.  I am already able to access the Revit UI and get some rudimentary info from it.   However, I'm unable to make the jump from the top-level...

View Article


Re: How to manipulate the "Project Browser" when programmatically acti

OK. Can you please share your VS project so that I may have a look and know where is the problem.In some cases if the WinAPI can't do the job you may need to use a mix of UIAutomation and WinAPI.

View Article

Re: 2 Questions: How to change Revit Application Title Caption and OOTB progress

Hi, for the status bar, see here:http://thebuildingcoder.typepad.com/blog/2011/02/status-bar-text.html In a similar way, you can get the window text of the main window...

View Article

Image may be NSFW.
Clik here to view.

Extract Fabrication Parts Connectors Values

Hello Everyone, I am trying to get connectors {Type,Values and Lock} values but unable to get. I tried everything i looked in to Lookup, API docs, Jet Brains Dot peek... but had no luck :(. Can someone...

View Article
Browsing all 66664 articles
Browse latest View live


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