Report coordinates (x,y) in schedule (Dynamo)

Report coordinates (x,y) in schedule (Dynamo)

sascari
Advocate Advocate
6,654 Views
5 Replies
Message 1 of 6

Report coordinates (x,y) in schedule (Dynamo)

sascari
Advocate
Advocate

Open to suggestions for e better workflow.

 

My objective: report coordinates in a schedule of a family (can be any family). I just need the schedule to show the x (Easting) and y (Northing) of several hundred points in a model.

 

So far I have a site family element that has an instance parameter of northing easting. I can update the parameters using this dynamo script successfully but I can't figure out how to pull these into a schedule.

 

mstsc_NWeb38bfjZ.png

mstsc_6yhkaApTFn.png

Accepted solutions (1)
6,655 Views
5 Replies
Replies (5)
Message 2 of 6

RDAOU
Mentor
Mentor

@sascari 

 

you need to add instance parameters "Nothing" and "Easting" to the family in Revit?

Is the node set parameter value by name not working? this node works for instance parameters not type...If you are using type parameters you might need to use Element.Type node

 

Otherwise use the set parameter node from Rhythem package 

RDAOU_0-1629202615946.png

 

 

Last but not least, the dynamo forum is on Dynamobim.org

 

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 3 of 6

sascari
Advocate
Advocate

Hi @RDAOU ,

 

Thanks for your response. As I've stated in my post "So far I have a site family element that has two instance parameters: northing & easting".

 

So, the family already has the instance parameters established. I can update the parameters successfully with the node <Element.SetParamaterByName> which grabs the coordinates of the element and sets the parameters to that coordinate. They need to be instance parameters because each element is at a different coordinate (x,y).

 

As I stated in my original post: "I can update the parameters using this dynamo script successfully but I can't figure out how to pull these into a schedule." So the question is actually about a schedule: How can I report these parameters in a schedule?

 

If there is a better way to report the x y location of elements in a schedule I'm all ears.

 

Thanks,

 

mstsc_EbwN8dJ73G.png

0 Likes
Message 4 of 6

RDAOU
Mentor
Mentor
Accepted solution

@sascari 

 

If you added the parameter in the family they need to be a Shared Instance Parameter ... otherwise you wont be able to schedule them 

 

Otherwise you could add these parameters as Project instance Parameter added to the family category...those can be scheduled too

 

Shared parameters from the family and project parameters can be used/added as fields in schedules

 

(PS: the family could be any category, however, instead of Site I would have used entourage category )

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


Message 5 of 6

Karol_Piroska
Advisor
Advisor
0 Likes
Message 6 of 6

sascari
Advocate
Advocate

@RDAOUThe Project Parameters seems to have worked. Thanks!

0 Likes