Message 1 of 4
Edit Attributes in a block
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Some users help me to get an spefic block, now I'm trying get the attributes.
Set oLayout = ThisDrawing.ActiveLayout
Set oblock = oLayout.Block
For Each oEnt In oblock
If TypeOf oEnt Is AcadBlockReference Then
If oEnt.Name = "myspecificBlock" Then
msgbox "at this point I get the block as I want."
msgbox "How get the attributes this block?"
End If
End If
Next
How get and edit the attributes this block?
Sorry, must be a simple code, but my experience is in Lisp.
All help will be welcome.
Ladimir Abdala
CAD Systems Analyst
Set oLayout = ThisDrawing.ActiveLayout
Set oblock = oLayout.Block
For Each oEnt In oblock
If TypeOf oEnt Is AcadBlockReference Then
If oEnt.Name = "myspecificBlock" Then
msgbox "at this point I get the block as I want."
msgbox "How get the attributes this block?"
End If
End If
Next
How get and edit the attributes this block?
Sorry, must be a simple code, but my experience is in Lisp.
All help will be welcome.
Ladimir Abdala
CAD Systems Analyst