Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

How to automatically retrieve distances ?

2 ANTWORTEN 2
Antworten
Nachricht 1 von 3
Angayo
288 Aufrufe, 2 Antworten

How to automatically retrieve distances ?

Hi,

 

The purpose is to get an estimate of cable lengths between data points and a specific location on a floor, e.g. a shaft or a server room.

 

data connection points and cable trays.png 

 

I asked for suggestions in forums.autodesk.com/t5/revit-architecture-forum/how-to-estimate-the-cable-length-of-cables-that-aren-t-drawn/m-p/6937076, but didn’t get anything useful. So I am asking here how I could implement a specific idea.

 

I know how to add a property/parameter to a category of elements. I have added the property ‘Afstand_tot_server’ for data connection points, as can be seen in the image below (afstand is Dutch for distance).

 

data connection points with distance property.png

 

I could select all relevant elements and then type in a formula in that field, but I need information from Revit, the coordinates of the elements for example. A function getcoordinate or something like that would be useful.

 

Then I could write in the field something like

= abs(getxcoordinate()-server_x) + abs(getycoordinate()-server_y) + <height  related stuff>

 

Does anyone know how to do that or have a better idea ?

Tags (1)
2 ANTWORTEN 2
Nachricht 2 von 3
Alfredo_Medina
als Antwort auf: Angayo

Do not post the same question twice, please.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
Nachricht 3 von 3
Angayo
als Antwort auf: Angayo

From what I have been able to find, Revit has been unable to give the coordinates of objects since 2007. So it doesn’t look like Autodesk intends to solve that issue soon. The most interesing workarounds refer to the app / add-in XYZ Coordinates, that is claimed to be free. According to apps.autodesk.com/RVT/en/Detail/Index?id=2470352942019857447 it is however a 15 day trial app with no price. Perhaps it used to be free and is now paying software.

 

So I think I’ll wait for  another cable length task to try out the app.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report