Hi…,
I had a customer call.
The customer saves a STEP file. Is there a way/script to give blocks layer names, that names for blocks are saved in STEP?
Thanks
Michael
www.flexiCAD.com
Hi…,
I had a customer call.
The customer saves a STEP file. Is there a way/script to give blocks layer names, that names for blocks are saved in STEP?
Thanks
Michael
www.flexiCAD.com
Hi…,
this seams to be fixed by the customer. He types the block name now by hand in the properties name field.
Thanks
Michael
@Michael_Meyer - here’s a tiny python that will save some typing, if I understood the problem…
import rhinoscriptsyntax as rs
def BlocksGetlayerNames():
ids = rs.ObjectsByType(4096)
if not ids:
print "No block instances found."
Return
for id in ids:
rs.ObjectName(id, rs.ObjectLayer(id))
if __name__ == "__main__":BlocksGetlayerNames()
-Pascal