.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Add Layer Descriptio n to Layer Dropdown list
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
824 Views, 10 Replies
03-22-2010 03:38 PM
Is there a way in .net to add the layer description field (viewable in the Layer Properties Manager menu) to the layer dropdown list? Our designers want to see this information without opening the Layer Properties menu.
Thanks!
Thanks!
Re: Add Layer Descriptio n to Layer Dropdown list
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-23-2010 02:52 PM in reply to:
vryarbe
LayerTableRecord has a Description property. I'm not sure if this is what's used in the layers dropdown, but it might be worth a shot.
*Michael Robertson
Re: Add Layer Descriptio n to Layer Dropdown list
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2010 05:32 AM in reply to:
vryarbe
Hello fyathyrio8,
LayerTableRecord.Description is the property you want to set for the description
that shows up in the Layer dialog.
> LayerTableRecord has a Description property. I'm not sure if this is
> what's used in the layers dropdown, but it might be worth a shot.
>
LayerTableRecord.Description is the property you want to set for the description
that shows up in the Layer dialog.
> LayerTableRecord has a Description property. I'm not sure if this is
> what's used in the layers dropdown, but it might be worth a shot.
>
*Tony Tanzillo
Re: Add Layer Descriptio n to Layer Dropdown list
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2010 05:55 AM in reply to:
vryarbe
There's several layer controls.
One is on the Ribbon and another is on the layer toolbar.
Which are you using?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
wrote in message news:6358774@discussion.autodesk.com...
Is there a way in .net to add the layer description field (viewable in the Layer
Properties Manager menu) to the layer dropdown list? Our designers want to see
this information without opening the Layer Properties menu.
Thanks!
One is on the Ribbon and another is on the layer toolbar.
Which are you using?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
Is there a way in .net to add the layer description field (viewable in the Layer
Properties Manager menu) to the layer dropdown list? Our designers want to see
this information without opening the Layer Properties menu.
Thanks!
*Tony Tanzillo
Re: Add Layer Descriptio n to Layer Dropdown list
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2010 06:05 AM in reply to:
vryarbe
The OP asked how to get the description to show up in the layer dropdown.
Do you have a suggestion for that?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
"Michael Robertson" wrote in message
news:6359834@discussion.autodesk.com...
Hello fyathyrio8,
LayerTableRecord.Description is the property you want to set for the description
that shows up in the Layer dialog.
> LayerTableRecord has a Description property. I'm not sure if this is
> what's used in the layers dropdown, but it might be worth a shot.
>
Do you have a suggestion for that?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
"Michael Robertson"
news:6359834@discussion.autodesk.com...
Hello fyathyrio8,
LayerTableRecord.Description is the property you want to set for the description
that shows up in the Layer dialog.
> LayerTableRecord has a Description property. I'm not sure if this is
> what's used in the layers dropdown, but it might be worth a shot.
>
Re: Add Layer Descriptio n to Layer Dropdown list
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2010 02:34 PM in reply to:
vryarbe
We are using the Classic AutoCAD layer dropdown,
(see attachment). Our designers have requested the
ability to view the layer description next to the layer
name to help them know which layer to choose.
Normally, I'd define the layer name to provide a
hint, but these files all have generic layer names
for post-processing reasons.
Thanks,
Vic Yarberry
(see attachment). Our designers have requested the
ability to view the layer description next to the layer
name to help them know which layer to choose.
Normally, I'd define the layer name to provide a
hint, but these files all have generic layer names
for post-processing reasons.
Thanks,
Vic Yarberry
*Owen Wengerd
Re: Add Layer Descriptio n to Layer Dropdown list
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2010 03:59 PM in reply to:
vryarbe
Your only option is to create a standalone custom layer control, as there is
no way to customize the built in layer control. There have been some pretty
impressive third party layering systems built over the years, so you may
want to spend some time researching how others have solved the problem.
--
Owen Wengerd
President, ManuSoft <>
VP Americas, CADLock, Inc. <>
wrote in message
news:6360360@discussion.autodesk.com...
> We are using the Classic AutoCAD layer dropdown,
> (see attachment). Our designers have requested the
> ability to view the layer description next to the layer
> name to help them know which layer to choose.
>
> Normally, I'd define the layer name to provide a
> hint, but these files all have generic layer names
> for post-processing reasons.
>
> Thanks,
> Vic Yarberry
> >>
no way to customize the built in layer control. There have been some pretty
impressive third party layering systems built over the years, so you may
want to spend some time researching how others have solved the problem.
--
Owen Wengerd
President, ManuSoft <>
VP Americas, CADLock, Inc. <>
news:6360360@discussion.autodesk.com...
> We are using the Classic AutoCAD layer dropdown,
> (see attachment). Our designers have requested the
> ability to view the layer description next to the layer
> name to help them know which layer to choose.
>
> Normally, I'd define the layer name to provide a
> hint, but these files all have generic layer names
> for post-processing reasons.
>
> Thanks,
> Vic Yarberry
>
*Tony Tanzillo
Re: Add Layer Descriptio n to Layer Dropdown list
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2010 05:11 PM in reply to:
vryarbe
In that case, I'm afraid you're out of luck, because
the toolbar layer dropdown is not customizable in
any way, short of subclassing it and completely
replicating item painting.
OTOH, it took me about 5 minutes to modify some
code I wrote for extending AutoCAD Data Extraction,
to make it happen with the layer dropdown on the
ribbon (see the attached screen grab), and you can
get it here:
http://www.caddzone.com/LayerHelper.zip
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
wrote in message news:6360360@discussion.autodesk.com...
We are using the Classic AutoCAD layer dropdown,
(see attachment). Our designers have requested the
ability to view the layer description next to the layer
name to help them know which layer to choose.
Normally, I'd define the layer name to provide a
hint, but these files all have generic layer names
for post-processing reasons.
Thanks,
Vic Yarberry
the toolbar layer dropdown is not customizable in
any way, short of subclassing it and completely
replicating item painting.
OTOH, it took me about 5 minutes to modify some
code I wrote for extending AutoCAD Data Extraction,
to make it happen with the layer dropdown on the
ribbon (see the attached screen grab), and you can
get it here:
http://www.caddzone.com/LayerHelper.zip
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
We are using the Classic AutoCAD layer dropdown,
(see attachment). Our designers have requested the
ability to view the layer description next to the layer
name to help them know which layer to choose.
Normally, I'd define the layer name to provide a
hint, but these files all have generic layer names
for post-processing reasons.
Thanks,
Vic Yarberry
Re: Add Layer Descriptio n to Layer Dropdown list
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-25-2012 02:02 AM in reply to:
vryarbe
Hi
Did any one download Tony's example code who could post it here or email it to me as the link no longer works and his site is not active anymore.![]()
Regards
Justin Ralston
http://c3dxtreme.blogspot.com/
Justin Ralston
http://c3dxtreme.blogspot.com/
Re: Add Layer Descriptio n to Layer Dropdown list
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-29-2012 03:11 AM in reply to:
ralstogj
The original as downloaded from tony's site.
If this fixed your issue, click on "Accept as Solution"
Andrew Puller
Maitland, NSW, Australia
Windows 7 Enterprise 64bit
Intel core i7 2600 @ 3.40 GHz with 16GB Ram
Civil 3d 2013 64bit
Andrew Puller
Maitland, NSW, Australia
Windows 7 Enterprise 64bit
Intel core i7 2600 @ 3.40 GHz with 16GB Ram
Civil 3d 2013 64bit


