Issue API - How to Change Fitting Diameter
Hello, I'm trying to create a code to change the size of the conduit and the fittings connected.To change the size of the conduit is easy, this code do the job. Parameter parameter =...
View ArticleRe: Pick a face in document, pick same face in familydocument - how?
First, yes it is possible to select a face and get it geometry and information from it via Revit API.But, I think you are new in the Revit API. So, I suggest you start learning the basics. Here are...
View ArticleRe: Pick a face in document, pick same face in familydocument - how?
Hi , Thanks for your reply.I made it work before I saw your post. Thanks anyway. :-)
View ArticleRe: How to check the exisiting of ribbon tab and ribbon panel? And how to get th
This works for me string tabName = "TabName"; string panelName = "PanelName"; try { a.CreateRibbonTab(tabName); } catch { } List<RibbonPanel> panelList = a.GetRibbonPanels(tabName); RibbonPanel...
View ArticleRe: Get path of linked IFC files
Thanks for your reply! Ok, so everything works fine...good to hear! But, at this point, why doesn't my code also get the point clouds?
View ArticleRe: my first addin problem
Hi ,I checked you addin file and Your code.There is noting wrong in your addin file and project code. Is debugging working in your code?(i.e) Are you able to open the Revit 2017 by clicking the Start...
View ArticleRe: Get path of linked IFC files
I'm sorry to say that I cannot answer this from Revit API slide, the point clouds feature should be internal mechanism of Revit. You may refer to online help about point cloud...
View ArticleHow to get dimensions from sketch??
hi i need to get dimensions from sketch here is the code Element e1 = (Element)Fmly;ElementId eid = e1.Id;Transaction t = new Transaction(doc, "fake");t.Start();ICollection<ElementId> ids =...
View ArticleRoom Name Problem
Hello Everyone.i have try to get room name in Revit code:Element ^element;LocationPoint ^LP = (LocationPoint^)element->Location;XYZ ^FuniturePoints = LP->Point;Room ^room =...
View ArticleRe: Room Name Problem
Hi ,I don't find any problem in your code and everything seems to be fine.Could you please explain about your problem some more?
View ArticleRe: Room Name Problem
thankyou naveen.kumar.t for quick reply..i have attached screenshot of code ..whereFilteredElementCollector ^collector = gcnew FilteredElementCollector(doc); Element ^e in collector ;
View ArticleRe: my first addin problem
hello , i did what you said and there are new two tabs in revit appeared as shown in the image (the tabs above the revit window) but the external tools tab still does not appearanother question :...
View ArticleRe: my first addin problem
Hi , Does Revit asks you to load addin into Revit?If yes then Your addin file is in correct location. After loading the Addin file ,Does Revit shows some error?If yes then there are some problems in...
View ArticleRe: my first addin problem
revit does not ask me to load addin ,but i will revise my code and paths again , thank you for help
View ArticleRe: Room Name Problem
Hi ,In your code,what is RefStringToString?Here is the complete code to get your element's Room name. Element e; LocationPoint LP = e.Location as LocationPoint; XYZ FurniturePoint = LP.Point as XYZ;...
View ArticleRe: Room Name Problem
thankyou naveen.kumar.t but same problem ...here i pass the furniture Points of element ...which is filtered as builtincategory of OST_Furniture.
View ArticleRe: How to get dimensions from sketch??
Hi! The idea of an element deletion + temporary transaction seems good for me. But source element must have a sketch in such case, e.g. source element should be a Floor, for example. I think you need...
View ArticleRe: Creating Custom Family Libraries
Hi Vikram,Your post seems to me... a bit off the mark.Using estimation soft directly on Revit is the dream of any professionnal (as I was just 2 years ago). Some softs are connected to Revit (in France...
View ArticleRe: How to judge FamilySymbol is invalid after the Document closed?
the FamilySymbol has a property Document. You can check if the document is valid with:FamilySymbol symbol; Document symbolDocument = symbol.Document; bool documentIsValid = symbolDocument!=null...
View Article