Setting layer using ADT Layer Key

Setting layer using ADT Layer Key

Anonymous
Not applicable
205 Views
0 Replies
Message 1 of 1

Setting layer using ADT Layer Key

Anonymous
Not applicable
What code do I need to set a layer using an ADT Layer Key ("doorno") that is
in the standard layer list? I've been looking through the help file and it
says to use the following:

Dim objLayer As AcadLayer

Set objLayer = layerKeyStyle.GenerateLayer("DOORNO")

But when I run the program I always get an error that says "Object
Required".

I don't know what this means. If anyone has any ideas about this or another
way I can easily set the layer (even if it doesn't exist), I would
appreciate it.

Thank You

--
Matthew Kyle
Kephart Architects
Denver, CO
303/ 832-4474
0 Likes
206 Views
0 Replies
Replies (0)