I am trying to make a “live” elevation block that reflects the Z coordinate of the block insert point. I tried with the text field inside the block but the text is static because it references on original geometry. I tried phyton but I do not know how to read GUID of a new instance of block.
pick=rs.GetPoint(“select a point”) #pick point
mypoint=rs.AddPoint(pick) #insert point
mypointstr=str(mypoint)
print “The object’s unique id is: {0}”.format(mypoint)
print mypointstr
fieldstr=‘%<PointCoordinate("’ + mypointstr + ‘",“Z”)>%’
print ("FS: ",fieldstr)
text=rs.AddText(fieldstr,mypoint)