Create Line with layer (BRX)

Hello everybody
Can anyone tell me in general after creating lines how the layer property (for example layer name) is set in poly line (block reference)?
can i set by a code using APIs (brx)?

Comments

  • Hi,

    Assuming the layer table contains a layer named "foo", you can simply do:
    line.Layer = "foo";