Hey Corey,
The error message is telling you that the GetAt() method is an instance
method, not a shared method. You need an instance of a DictionaryWallStyle
object.
--
Bobby C. Jones
"Corey A. Layton" wrote in message
news:5196855@discussion.autodesk.com...
in VBA it's easy:
(using AEC Architectural Object Library (COM))
Dim AecDoc As New AecArchBaseDocument
AecDoc.Init ThisDrawing
Dim MyWallStyleName as String
MyWallStyleName = "Wall-A"
Dim MyStyleObject as AecObject
Set MyStyleObject = AecDoc.WallStyles.Item(MyWallStyleName)
but there's no 'Item' in VB.NET (that I can see...)
So, in VB.NET, I've tried:
(using AecArchMgd.dll)
Autodesk.Aec.Arch.DatabaseServices.DictionaryWallStyle.GetAt(MyWallStyleName)
thinking that this would work?
But I get an error list message:
'Reference to a non-shared member requires an object reference.'
what does this mean?