BlockInstanceInsertPoint

Returns the insertion point of a block instance.

Syntax

rhinoscriptsyntax.BlockInstanceInsertPoint(object_id)

rhinoscript.block.BlockInstanceInsertPoint(object_id)

Parameters

object_id

Required.  String or Guid.  The identifier of an existing block insertion object.

Returns

Point3d

A 3-D point if successful.

Example

import rhinoscriptsyntax as rs

strObject = rs.GetObject("Select block")

if rs.IsBlockInstance(strObject):

    rs.AddPoint( rs.BlockInstanceInsertPoint(strObject) )

Also See

BlockInstanceCount

BlockInstances

BlockInstanceXform

IsBlockInstance