Re: setup to use visual studio instead of sharpdevelop
There isn't any way to do this. You can use the Sharp Develop inside revit to write macros. But if you want to use visual studio, you have to run it separately from revit. With VS, you compile your...
View ArticleRe: Copy with base point
Please try this and tell me the result: #region Namespaces using System; using System.Text; using System.Linq; using System.Xml; using System.Reflection; using System.ComponentModel; using...
View ArticleRe: Is there any method to create new phase programmatically?
I extract those name and descriptions information from Excel into two string list , i.e. List<string> name I am currently developing API on 2013 version. I can only have limited functions...
View ArticleRe: Roof by Face
We also found roof by face is not supported, hope this can be supported!
View ArticleRe: Copy with base point
Sorry it was my mistake trans.Start("sun"); XYZ targetPoint = Command.uidoc.Selection.PickPoint("Please pick a point."); Group dt = uidoc.Document.Create.PlaceGroup(targetPoint, ty); BoundingBoxXYZ...
View ArticleRe: Copy with base point
Dear Mustafa, Thanks for you time and help. Your code did the trick only with a very very little minor change. trans.Start("sun"); XYZ targetPoint = Command.uidoc.Selection.PickPoint("Please pick a...
View ArticleCopy to selected levels faster
Hi In revit there is a feature called copy to selected level. How do automate this feature but the challenge is speed. The objective is to reduce the time to do so. Thanks & RegardsThanks &...
View ArticleRe: Get linked elements by OfClass
Well i found this one which perfectly fit my needs ! accessing-data-from-linked-file-using-revit-api
View ArticleHow to Create Insulation detail component using Revit
Hi How Cam I place Insulation Batting Lines Detail component in drafting view using revit API ?Is there any api for that?
View ArticleRe: Creating view filters for some parameters is impossible
The issue is it seems impossible to make view filters using instance parameters. You can just use type parameters... Is anyone else facing this ?
View ArticleRe: Create a view template
Hi, I tried to use the PostCommand function to call the built-in Revit command "CreateTemplateFromCurrentView". View active_view = ui_document.ActiveView; ui_document.ActiveView =...
View ArticlePanelViewSchedule - MoveSlotTo - Revit 2016
Hi All, I wonder if someone successfully used MoveSlotTo function for PanelViewSchedule? I have tried to apply workflow described here: https://knowledge.autodesk.com I was able to successfully get...
View ArticleRe: PanelViewSchedule - MoveSlotTo - Revit 2016
I haven't tried to modify panel schedules with the API, but it looks like you are trying to move the last row: aRowList.Last() to 20 rows beyond the last row :aRowList.Last() +20 It doesn't seem like...
View ArticleRe: PanelViewSchedule - MoveSlotTo - Revit 2016
Hi, First of all thank you for fast response. aRowList is a list which contains indexes of rows for slot. In my case it is one slot so whole list contains the same row index. Example:...
View Article"The publisher of this add-in could not be verified. What do you want to do?"
In Revit 2017 I always got this message on my addin:"The publisher of this add-in could not be verified. What do you want to do?"Where can I find a documentation about this stuff and a solution to...
View ArticleRe: User Hidden Categories
Thanks buddy. I missed the AllowsVisibilityControl property in the Category class. Appreciate the help.
View ArticleHow can I detect Revit's Language?
Hello, Folks. How can I detect Revit's Language? Thank you in advance.
View ArticleRe: "The publisher of this add-in could not be verified. What do you want t
Please see this thread called "Code Signing of Revit Addins". I think Jeremy answered this toward the end. http://forums.autodesk.com/t5/revit-api/code-signing-of-revit-addins/td-p/5981560
View Article