Hello,
When I explode blocks and export manually the User Text is maintained on the geometry.
But when I use the script below all the User Text is deleted from the geometry contained within the block. Why is this?
import rhinoscriptsyntax as rs
import scriptcontext as sc
import Rhino.DocObjects as rd
import Rhino.Geometry as rg
import Rhino
objs = rs.GetObjects("Select blocks to explode and export",4096)
geometries = []
copies = rs.CopyObjects(objs,None)
for i in copies:
geo = rs.ExplodeBlockInstance(str(i))
geometries.append(geo)
for i in geometries:
rs.SelectObjects(i)
rs.Command("_Export")
rs.Command("_Delete")
Thanks,
Dan