Returns the insertion point of a block instance.
rhinoscriptsyntax.BlockInstanceInsertPoint(object_id)
rhinoscript.block.BlockInstanceInsertPoint(object_id)
object_id |
Required. String or Guid. The identifier of an existing block insertion object. |
Point3d |
A 3-D point if successful. |
import rhinoscriptsyntax as rs
strObject = rs.GetObject("Select block")
if rs.IsBlockInstance(strObject):
rs.AddPoint( rs.BlockInstanceInsertPoint(strObject) )