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

Re: Angle, direction, orientation ...?

 Not sure understood question correct.  1.suppsoe  two points  are their.2.calculate relative vector between point.3.calculate angle between relative vector and the axis about which want to...

View Article


Re: Sheet Number vs. Sheet Counts

I have an internal request to add a paramter on Sheets for "Sheet order number" and "Sheets Total" As I understand, the code can be a Macro. but a Macro is only running, when I push a button.When using...

View Article


Check if Revit Link Instance is placed by Shared Coordinates

Hi all,I need to check if the revit link instance is placed (positioned) by Shared coordinates or Origin to Origin when it is linked at first time to the project.The points coordinates translation...

View Article

Re: Check if Revit Link Instance is placed by Shared Coordinates

Hi,Using Revit Lookup my guess is:Find RevitLinkInstance.RevitLinkInstance rli;Document doc = rli.GetLinkDocument();ProjectLocation pl = doc.ActiveProjectLocation;You should find what you are searching...

View Article

Re: Sheet Number vs. Sheet Counts

Hi,I am pretty sure that your problem is not clear, even in your mind. But let's try to answer.1) How to automatically update your parameters? Windows has events that can trigger some pieces of code....

View Article


Execute Revit plugin on each revit model file Automatically.

Hello Forum,I am doing one exercise where I need have following things,1) Revit plugin2) Folder having revit model files.Task - I want to execute plugin for each revit model stored in folder.As a...

View Article

Re: Check if Revit Link Instance is placed by Shared Coordinates

Hi  ,Thank you for the reply but Project Location Class doesn't have any information of the Positioning type. 

View Article

Re: RibbonItem Combo Box of scopBoxes at Runtime

Hey,Sorry for the stupid question, but is it that crucial not to have a button in your ribbon? Looks like what you're trying to do is complicated, it depends on the view, has to be updated every time...

View Article


Re: Execute Revit plugin on each revit model file Automatically.

Hi  ,Have a look at these below linkshttps://forums.autodesk.com/t5/revit-api-forum/how-to-start-revit-in-batch-mode/td-p/7874486...

View Article


Re: REVIT LT 2017 - All text disappears in PDF print.

Hello, everyone; My difficulty is even worse;I can't find the Link button to files.pdfPlease see Screenshot attached;  it isn't there.I am using Revit LT with the latest software upgrade thankyouPeter

View Article

WindowForm

I can't see the Design (window) in Sharp Develop, I get the following errors System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.en...

View Article

Image may be NSFW.
Clik here to view.

Re: TypeLoadException for Hello Ribbon

AHHHH! It figures it was something dumb like that... 🙂 I renamed the Class instead (to "P"), and that fixed the above error, but now I get a different one (below). A panel appears on the Add-Ins tab,...

View Article

Re: WindowForm

Total guess since you haven't provided us any of the code, but do you have any filtered element collectors on load that may not be returning any results?

View Article


Re: Independent wall tag centred off wall not on walls edge

Thanx Jeremy,unfortunately revit lookup didnt provide me with an obvious soln. I did see a few posts on here  and yours that mentioned using element transform utilities. I think its the leader line...

View Article

Re: Independent wall tag centred off wall not on walls edge

Congratulations on resolving this and thank you for sharing your solution! 

View Article


Detecting Walls obscured by detail component families

I can think of a few methods that might work..1. Walls hidden under detail component may be found by projection ray upwards.2. Bounding box from wall could be extended upwards to intersect with detail...

View Article

Re: Independent wall tag centred off wall not on walls edge

Not a problem and another trick is that if your tag still doesn't get in the right position, you can divide the vector by a fraction, i used the following transform i should have included to tweak it...

View Article


Re: Detecting Walls obscured by detail component families

I tried this though i didn't think it would work.detail components don't intersect walls... Element element = doc.GetElement(reference);GeometryElement geomElement = element.get_Geometry(new...

View Article

Image may be NSFW.
Clik here to view.

Re: WindowForm

Image

View Article

Re: WindowForm

This is a very normal error. Add a null check like :   if(ref == null) {return}.   

View Article
Browsing all 66666 articles
Browse latest View live


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