Sorry if this question has been asked. but here goes. I am trying to place some familie components by specific coordinates in my model, but when I run my graph, it inserts the component somewhere else…? Can someone please help?
Hi guys, I am also struggling with a similar issue but my problem is with the angle of rotation. I tried to place the families with true north unfortunately my script is not working. Look at the script attached
193,000,000 mm is about 120 miles. Do you really have objects which are 120 miles from the hard coded origin of the file? Anything over 22 miles from the hard coded internal origin (the 0,0,0 point) is an issue for Revit’s geometry engine.
Revit/Elements/Coordinates/coordinates base point -
this will report the origin of the internal coordsystem relative to the project base point
the internal coordsystem is oriented in the same x,y as the project base point
it is the internal coords which are used to locate objects.
all you need to be able to do then is translate from your world co-ords to the internal co-ords
(I think)
I have tried working with your suggestion, on converting my real world coordinates to Revit local/ relative ones.
When I minus the two coordnates from each other, I get the same measured distance as where the component should be.
But it still does not insert the object here? Does the “insert by point” node, include project rotation?
where do you get the coordinates from? from autocad file? from which software. The best bet is to use revit’s built in transform class instead of translating your own, that is if you know the the difference in those two coordinate
The coordinates comes from our building inspection program, which gets the coordinates from its placement in the Revit files. How do you suggest that I translate these coordinates to revits placement system?
@Deniz_Maral - the components null point, is at det dead center of the object.