Message 1 of 6
PaletteSet : Title, Command, GUID Confusion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I’m trying to following an example that I found for creating a PalettSet with a UserControl and I think I finally have everything working except one thing. I’m using AutoCAD 2008 (AutoCAD Architecture 2008 SP1).
The following line creates a PaletteSet titled "Layer List" just as I expect it to…
myPaletteSet = New Autodesk.AutoCAD.Windows.PaletteSet("Layer List")
…However when I use a GUID, the title "Layer List" magically becomes a command which of course starts the LAYER Command followed by the LIST Command.
myPaletteSet = New Autodesk.AutoCAD.Windows.PaletteSet("Layer List", New Guid("d7b78d6c-14b2-45b1-bc0b-95f365f60ec9"))
What the heck is going on here? Is this another AutoCAD bug that takes something really cool and makes it completely useless, or am I just too dense and missing something obvious?
By the way, I’m using this AU tutorial.
http://au.autodesk.com/?nd=class&session_id=910
Thanks,
Jim
The following line creates a PaletteSet titled "Layer List" just as I expect it to…
myPaletteSet = New Autodesk.AutoCAD.Windows.PaletteSet("Layer List")
…However when I use a GUID, the title "Layer List" magically becomes a command which of course starts the LAYER Command followed by the LIST Command.
myPaletteSet = New Autodesk.AutoCAD.Windows.PaletteSet("Layer List", New Guid("d7b78d6c-14b2-45b1-bc0b-95f365f60ec9"))
What the heck is going on here? Is this another AutoCAD bug that takes something really cool and makes it completely useless, or am I just too dense and missing something obvious?
By the way, I’m using this AU tutorial.
http://au.autodesk.com/?nd=class&session_id=910
Thanks,
Jim