TheSwamp
Code Red => VB(A) => Topic started by: jbuzbee on July 23, 2008, 10:53:13 AM
-
Ok, I figured I get more help here:
AutoCAD Architecture 2009 - trying to add a Mask Block to modelspace with AddCustomObject
object.AddCustomObject(AecDbMaskBlockRef)
I'm actually using:
(vla-AddCustomObject modelSpace "AecDbMaskBlockRef")
and I get the error:
Error: Automation Error. Description was not provided.
I can do doors, walls, everything else except Mask Blocks. Any ideas??
thanks for any input.
-
Never mind, :x
I can't believe I've been working on this for an hour and it's a stupid typo:
AecMaskBlockRef
not
AecDbMaskBlockRef
:-P