how get the Pivot position

309
1
11-19-2021 01:02 AM
RobertoSenatoo
New Contributor

Hello guys

I wanted to know if it is possible to get the coordinates of the pivot of a building

 

thanks

0 Kudos
1 Reply
desert
by
New Contributor III

I converted the building's pivot coordinates to the world coordinate system using the following method.
Maybe there's a better way...

 

Lot --> extrude(10) A

A --> print(
	"X="+convert(x,pivot,world,pos,0,0,0)+"\n"+
	"Y="+convert(y,pivot,world,pos,0,0,0)+"\n"+
	"Z="+convert(z,pivot,world,pos,0,0,0)) X.

 

 

 See the convert function.

 

0 Kudos