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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: Missing method on some machines but not others
nevermind, accidental nonsense post. nothing to see here...
View Article"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 ArticleRe: 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 ArticleRe: 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 ArticleRe: "The invoked member is not supported in a dynamic assembly."
Try to enable the unsafe debuging mode from Tools -> Options in VS
View ArticleRe: 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 ArticleRe: 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 ArticleLoading 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 ArticleRe: Loading Printing Set.
I guess you need to use PrintSetup.CurrentPrintSetting property.
View ArticleRe: family placement level
Please provide your sample code and the .rfa file to be able to help.
View ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleApplying 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 ArticleCurve-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 ArticleRe: 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