spot coordinate value

spot coordinate value

aliobidi
Collaborator Collaborator
391 Views
3 Replies
Message 1 of 4

spot coordinate value

aliobidi
Collaborator
Collaborator

Hi folks .. 

I'm trying to get spot coordinate value from the roof corners and fill all of them on schedule or Excel sheet  like the image 
what is the easiest way for this 
thanks 

aliobidi_0-1698911200177.png

 

0 Likes
392 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni

Here is a possible solution:

 

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 4

aliobidi
Collaborator
Collaborator

Thanks you 

But is there any script that can read all spot coordinat on the project Serially (first spot add in the project to last one ) 

And fill them in Schedule  (first spot add in the project to last one )

Sorry but I'm Fusion 360 user and using API for it but in revit and dynamo With difficulty

Any hints how can I think or any kind of help will appreciate 

0 Likes
Message 4 of 4

ctm_mka
Collaborator
Collaborator

First, i do not believe which element is placed first is tracked, you would have to add that manually to the spot elevation, perhaps as one of the instance parameter suffixes. Second, for actually doing what you want, here's the workflow i would use:

  1. Grab all Spot Coordinate elements in the Active View.
  2. Loop through each spot coordinate and pull the number (whatever parameter you have that assigned to) and the Origin property into a list with appropriate properties for each parameter (number, North, East & Elevation),
  3. Sort the list by number.
  4. export to csv.

Please remember, we are here to help you develop your application, but not to write it for you.

0 Likes