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

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 Article


Re: 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 Article


Re: 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 Article

Re: Roof by Face

We also found roof by face is not supported, hope this can be supported!

View Article

Re: Roof by Face

hi Jeremy, I already added this request to CF-194.

View Article


Image may be NSFW.
Clik here to view.

Re: 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 Article

Re: 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 Article

Copy 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 Article


Re: Get linked elements by OfClass

Well i found this one which perfectly fit my needs ! accessing-data-from-linked-file-using-revit-api 

View Article


How 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 Article

Re: 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 Article

Re: 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 Article

PanelViewSchedule - 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 Article


Re: 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 Article

Re: 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 Article

Re: User Hidden Categories

Thanks buddy. I missed the AllowsVisibilityControl property in the Category class. Appreciate the help.

View Article


How can I detect Revit's Language?

Hello, Folks.    How can I detect Revit's Language? Thank you in advance.

View Article

Re: How can I detect Revit's Language?

I've found it: Application.Application.Language

View Article

Re: "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
Browsing all 66666 articles
Browse latest View live


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