Message 1 of 1
Setting layer using ADT Layer Key
Not applicable
01-24-2001
04:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
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