Hi All,
I have a single case where .IsDynamicBlock returns false even though the block is dynamic. If I step into the processing for the properties, all works perfectly. This is one of dozens, with the code common, so I am unable to see anything obviously different. The block behaves perfectly as a manual insert, or by skipping the .IsDynamicBlock test. I have rebuilt the block from scratch a couple of times. Has anyone struck this before?
Regards, Dale
If brDrawObject.IsDynamicBlock = True Then
dynBlkRefProps = brDrawObject.DynamicBlockReferencePropertyCollection
For Each dynBlkRefProp In dynBlkRefProps
Select Case UCase(dynBlkRefProp.PropertyName)
Case UCase("Angle")
dynBlkRefProp.Value = DegreeToRadian(30)
Case Else
'MsgBox(dynBlkRefProp.PropertyName)
End Select
Next
End If
______________
Yes, I'm Satoshi.