How do I get the all the Block References from a particular layer.
I tried the
Code: Select all
doc.queryLayerBlockEntities(layerId)
Code: Select all
var doc = getDocument();
var layerName = getText();
var layerId = doc.getLayerId(layerName)
var blockEntities = doc.queryLayerBlockEntities(layerId)
Arun