Block definiton type

How to change Block definition type through api

What language are you programming in?

Rhino C#(Rhino common)

Hi @vijay_sarathy

Block instance definitions, InstanceDefinition, are stored in the document - RhinoDoc.InstanceDefinitions. Using these, you can get the existing block instance definition geometry, modify it or add to it.

– Dale

Hi @dale
instance definition does not contain any set property to modify instance definition types.

Hi @vijay_sarathy,

Use InstanceDefinitionTable.ModifyGeometry.

– Dale

1 Like

I cannot able to modify a block to link type . Can you please elaborate the method to implement it…

This is true. Linked blocks are from external files. Linked blocks are for β€œread only.”

– Dale

:frowning: Thanks @dale