The method you posted is one block at a time, rather than changing the actual "Block" entities which will change all blocks of that name. Just search for changing block properties it will use the method of getting a block from the block table which holds all blocks details. You can see below that the block I looked for has 21 items you now need to go into those items and dig a bit deeper.
https://forums.autodesk.com/t5/visua...s/td-p/7040108
Code:
(vlax-for blks (vla-get-blocks doc)
(if (= (vla-get-name blks) "DA1DRTXT")
(VLAX-DUMP-OBJECT BLKS)
)
)
Code:
; IAcadBlock: A block definition containing a name and a set of objects
; Property values:
; Application (RO) = #<VLA-OBJECT IAcadApplication 00007ff746cb51a8>
; BlockScaling = 0
; Comments = ""
; Count (RO) = 21
; Document (RO) = #<VLA-OBJECT IAcadDocument 000001f3a61b2408>
; Explodable = -1
; Handle (RO) = "A15F"
; HasExtensionDictionary (RO) = -1
; IsDynamicBlock (RO) = 0
; IsLayout (RO) = 0
; IsXRef (RO) = 0
; Layout (RO) = AutoCAD.Application: The property is not available in current state
; Name = "DA1DRTXT"
; ObjectID (RO) = 42
; ObjectName (RO) = "AcDbBlockTableRecord"
; Origin = (0.0 0.0 0.0)
; OwnerID (RO) = 43
; Path = AutoCAD.Application: Not applicable
; Units = 0