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

Re: Adding connectors to obejct exported from AutoCAD.

Here you are the complete code:#region Namespaces using System; using System.Text; using System.Linq; using System.Xml; using System.Reflection; using System.ComponentModel; using System.Collections;...

View Article


Re: How get to Text objects within Imported Dwg

I know this is a complicated problem.However, REVIT's own commands can be done. Other plug-ins can be done. I just want to get all text  in the importInstance.

View Article


Re: Update image or text on stacked ribbon item

Hi Mustafa I reworked the code to the point of no return.But i did find a way how to change the image on pushbuttons as stacked, on slideouts and in radiogroups.You need to use the AdWindows.dll....

View Article

Image may be NSFW.
Clik here to view.

Re: Update image or text on stacked ribbon item

I'm happy to hear that and if there is any further help, I'll be there for you.

View Article

Image may be NSFW.
Clik here to view.

Re: Missing method on some machines but not others

nevermind, accidental nonsense post. nothing to see here... 

View Article


Image may be NSFW.
Clik here to view.

"The invoked member is not supported in a dynamic assembly."

Hi guys!I have a perfectly working addin for Revit 2016. I started to make a new version for Revit 2017. I copied the new dll-s, I rewrote the obsolete method calls, and I set the .NET version to...

View Article

Re: selection set

Tell me if it works like a charm #region Namespaces using System; using System.Text; using System.Linq; using System.Xml; using System.Reflection; using System.ComponentModel; using System.Collections;...

View Article

Re: Revit App publishing Issue

Your add-in should be installed in a folder within the Revit add-ins folder (or at the very least on the same drive).  For example, if the add-ins folder is here:...

View Article


Image may be NSFW.
Clik here to view.

Re: "The invoked member is not supported in a dynamic assembly."

Try to enable the unsafe debuging mode from Tools -> Options in VS 

View Article


Re: A question about suppressing warning messages in Revit

Try this and tell me if it works like a charm #region Namespaces using System; using System.Text; using System.Linq; using System.Xml; using System.Reflection; using System.ComponentModel; using...

View Article

Image may be NSFW.
Clik here to view.

Re: Revit API 2015 reads metric force unit (kN) incorrectly?

Thank you, that's great! Your answer has cleared everything in this issue!Also, I add this to make it more clear: F = m·a, where (in metric system)F — force, N,m — mass, kg,a — acceleration, m/s². Thus...

View Article

Image may be NSFW.
Clik here to view.

Loading Printing Set.

 Hi All, Any idea about how to set existing printing set as active printing set after clicked from combo box list. it is succussfully loading all existing printing set in cobo box but bit confused in...

View Article

Re: Loading Printing Set.

I guess you need to use PrintSetup.CurrentPrintSetting property.

View Article


Re: family placement level

Please provide your sample code and the .rfa file to be able to help.

View Article

Re: selection set

right, as simple as that, pretty basic stuff that UIDocument do have selection method, typical overthinking leads to brain damage, too much coffee perhaps, thanks Mustafa for your quick reply and...

View Article


Re: Retrieve omniclass number from selected element

I used the same code and it returns values. !!! If you can provide sample projrct this may help to figure out what is wrong.

View Article

Re: Dynamo script in Revit API

Dear Remy, Thank you for your query. This is certainly possible, and might even be pretty easy if you have the right bits and pieces to put together. I don't. Basically, you can run any .NET language...

View Article


Applying Parameters to Model groups

I am interested in applying some information (ideally by parameters) to model groups objects. I found a Building Coder blog post on this from 2009, called "Model Group Shared Parameter" which seems to...

View Article

Image may be NSFW.
Clik here to view.

Curve-based family instance created in wrong location

HiI'm trying to place a line-based family on an edge of a roof. The API creates the instance but not in the location specified by the diagonal edge that was selected. Any ideas?         public void...

View Article

Re: Adding connectors to obejct exported from AutoCAD.

Mustafa, Thanks for another vallant attempt! Unfortunately, I've hit a bit of a bump in the road implementing your solution. When it comes to the routine placing connectors on the face that I want. I...

View Article
Browsing all 66662 articles
Browse latest View live


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