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 ArticleRe: 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 ArticleCheck 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 ArticleRe: 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 ArticleRe: 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 ArticleExecute 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleWindowForm
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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: Independent wall tag centred off wall not on walls edge
Congratulations on resolving this and thank you for sharing your solution!Â
View ArticleDetecting 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: WindowForm
This is a very normal error. Add a null check like :  if(ref == null) {return}. Â
View Article