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

Re: Get Angle between two points

Dear Mark, Thank you for your query. The AngleTo method documentation says that it "returns the angle between this vector and the specified vector":...

View Article


How to know that an element is created by sweeping

Hi friends,I am looking for a way in C# or other language  to find out if an element has been created by sweeping or not. Thanks for your answers. 

View Article


Re: Get Angle between two points

Thank you sir.

View Article

Re: Can't debug using Sharpdevelop

Dear PKHLINEWORKS, The code is beyond my beginning skills!  Thank you for replying.  An Architect named Michael Kilkelly helped me with my debugger questions.  I didn't realize you had to enter debug...

View Article

Re: NewSpotCoordinate

thank you very much

View Article


Re: Too many tabs creates by Api

Hi, add-ins are loaded in alphabetical order:https://forums.autodesk.com/t5/revit-api-forum/the-order-of-addins/m-p/5639038#M10004 Presuming that the related *.addin file's name begins with an "R"...

View Article

Re: suppress warning > new warning with only 'cancel' button?

this is a different issue altogether.you probably have defined a DialogBoxShowing eventhandler, and not written any code in the body. I expect you have a method somewhere that looks like this:  void...

View Article

Unable to set active work plane

Hi everyone, I want to activate a work plane but I got error message "Model lines can not be drawn in current view", please help me to verify the below method to activate a work plane           public...

View Article


Re: How to know that an element is created by sweeping

Hi. Before doing anything else whatsoever, install RevitLookup. Create the element of interest manually. Explore its class, properties and parameters using RevitLookup. That will show you all there is...

View Article


Re: How to write default schedule can associate categories and room.

The FamilyInstance class already knows which room it lives in: http://www.revitapidocs.com/2017/37944e7a-f298-9c25-20bb-9c0c1da46f41.htm Cheers, Jeremy

View Article

Re: API for Cycle Section Head / Tail ???

Probably not possible right now, as you can see from the following discussion, which also suggests a workaround:...

View Article

Re: How to write default schedule can associate categories and room.

Does this method support all Family categories ?Thank Jeremy

View Article

The parameter is read-only

Hi, While Trying to change start extension, end extension value of member, this error comes "The parameter is read-only."how to change or enable this member (even unpin your help to be appreciated....

View Article


Can't obtain permission to edit element

Hi While trying to edit steel profile an error comes "can't obtain permission to edit element" what could be this one, attached snap for kind review. your help to be appreciated  -RK, 

View Article

Re: Changing Family Type through C#

The problem not addressed by .ChangeTypeId is that if a family type has been defined (FamilySymbol) but does not yet have any occurrences in the file (FamilyInstance), there is no obvious way to change...

View Article


Re: Changing Family Type through C#

Hi, before assigning a FamilySymbol fsb, it needs to be activated. if (!fsb.IsActive){    fsb.Activate();} Revitalizer

View Article

Re: Disable Navigation Bar in Preview Control

Hi R.van.den.Bor, I have asked how to disable preview control using revit api. Is this was not related to REVIT API questions? Don't know how it was not related to Revit API. Thanks,Vinoth Kumar.R

View Article


Re: Changing Family Type through C#

Hi, placing a FamilyInstance activates the symbol as well, but no need to do so, just yourFamilySymbol.Activate().Can of worms can stay closed.  Revitalizer

View Article

Re: Changing Family Type through C#

I tried .Activate(), but NewFamilySymbol.GetTypeId() STILL provides an invalid TypeId when I do OldFamilyInstance.ChangeTypeId(NewId), even after adding .Activate() after creating the NewFamilySymbol....

View Article

Re: Changing Family Type through C#

Hi, the FamilySymbol already IS the type.You are trying to get the type of a type.So just use NewFamilySymbol.Id instead of NewFamilySymbol.GetTypeId().  Revitalizer

View Article
Browsing all 67020 articles
Browse latest View live


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