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

Marker size in avf

I'm creating a plugin in which i use AVF with circular marker point to indicate a distance. My problem is that the user can change the distance between two point, so i would change the size of the...

View Article


Re: RibbonItem Combo Box of scopBoxes at Runtime

The difficulty isn't responding to an event or even adding items to a combo box on the tab at various points. The difficulty is removing those items. Workarounds have been suggested whereby you add...

View Article


Re: Unusual Wrong Full Class Name Error

You have to present your implementation of IExternalCommand, you programming language for anyone to understand. e.g. in properties of the project you have an option for default namespace in C# and Root...

View Article

Re: Unusual Wrong Full Class Name Error

You are correct in the fact that VB requires deeper namespace declaration in the manifest than C#, but I am developing in C#.Here is the IExternalCommand Implementation, although this does not get...

View Article

Re: Unusual Wrong Full Class Name Error

If you get this error when you press the button (not when loading Revit) then the source of the error is within the string you use for full class name of the push button, not the manifest. The...

View Article


Re: Unusual Wrong Full Class Name Error

The problem, as you predicted was here: public Result OnStartup(UIControlledApplication a) { RibbonPanel panel = RibbonSetup(a); // Reflection to look for this assembly path string thisAssemblyPath =...

View Article

Re: Marker size in avf

Is that functionality available in the user interface? If not, the API will probably not support it either, you know.  

View Article

Re: Introducing a Revit API Framework!

Examples 😍 I mean a Nuget package like this: Revit_All_Main_Versions_API_x64  With this dlls:RevitAPI.dllRevitAPIUI.dllAdWindows.dll (Useful Sometimes)UIFramework.dll (Useful Sometimes)Like this is not...

View Article


Image may be NSFW.
Clik here to view.

Re: RibbonItem Combo Box of scopBoxes at Runtime

Hi RPTHOMAS108Thx for answering me. wrote:The difficulty isn't responding to an event or even adding items to a combo box on the tab at various points. The difficulty is removing those items....

View Article


Re: RibbonItem Combo Box of scopBoxes at Runtime

At any time you can use UIApplication.GetRibbonPanels("Your tab name") to get the panels each of which you know the name of. Then you can get the ComboBox RibbonItem.GetItems You can then add items...

View Article

Re: Wall Modifier IUpdater

Jeremy, I found a solution. I simply raise an ExternalEvent (from inside the IUpdater) in the event-specific parameters are checked. If the wall is inside a group the IUpdater will do the trick!

View Article

Re: TypeLoadException for Hello Ribbon

I think my .addin file looks ok (was in the solution .zip, but I've attached it again as well - had to put it in a .zip to upload anyway). The thread you linked to also mentioned an issue with...

View Article

List of ConduitSizes for specific Conduit standart

hi all, i struggle to obtain list of conduitSizes for specific conduit standart. I found class ConduitSizes in revit API docmentation...

View Article


Re: unable to set value for shared parameter in DirectShape

Hi Jeremy ,yes I did , I still have that problem.var createshareParam = new Share();Definition tt = createshareParam.Main(doc,_filename, _groupname, _defname, _deftype,...

View Article

Image may be NSFW.
Clik here to view.

No puedo instalar Revit 2021 para estudiantes

Buen día, he intentado instalar Revit 2021 en mi computadora y me aparece una ventana que dice que los productos han fallado en la instalación. Hace unas semanas el soporte de Windows, formateó mi...

View Article


Re: Reveals at Ends of Walls

Hi  ! You saved me! I just used a Regenerate method in between and now it is working! Thank you so much for tips and attention!

View Article

Re: Use NewCrossFitting() to connect four pipes which in different types,the...

Hi,I mean i need to make sure the  pipe fittings to be generated is the type i want,when the  four pipes in different pipeType ,Instead of i don't know how to use LookUp to check what fittingType it...

View Article


Re: No puedo instalar Revit 2021 para estudiantes

Hi  ,Unfortunately, this is not the best place to ask such a question.Please note that this discussion forum is dedicated to programming Revit using the Revit API.Therefore, you cannot expect an answer...

View Article

Re: Use NewCrossFitting() to connect four pipes which in different types,the...

I believe you can simply place the desired fittings first and then connect their connectors to automatically generate the types between them. Read the series of experiments to implement a rolling pipe...

View Article

Re: TypeLoadException for Hello Ribbon

Hi  .Your code works fine and also I think I figured out what is causing the problem in your project!😀In your addin file, the Full class name is wrongYou used "P" instead of "p"So...

View Article
Browsing all 66666 articles
Browse latest View live


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