Jump to content

Determine layer of object by pointing at it?


Recommended Posts

Posted

I have a somewhat complex document with many layers that have similar colors. Is there some way to identify the layer of a particular element using my mouse cursor in AutoCAD WS?

Posted (edited)

Welcome to CADTutor. :)

You can customize the ROLLOVER TOOLTIPS to display different information for different entity types, by merely hovering over it.

This function is probably already turned on in your software, but you will want to change the settings

to better suit your work style. It can be set differently for any or all entity types with which you would like

to be able to use it, as shown in the image of the CUI.

After selecting an entity type from the list on the left, you select whichever information from the selection on the right you wish to be included in the hover display for that entity type.

 

This is an on-the fly version of QUICK PROPERTIES, by which I swear, but when using the quick properties palette you must actually select

an entity in order to view the information. There are more defined entity types and subsequently property display options available in quick properties

customization of rollover tooltips.jpg

Edited by Dadgad
Posted

At the Top of the drawing when you select a line, etc. the layer will be shown when in the Home or Draw tab.

 

AutoCAD WS Layer.jpg

Posted

You can customize the ROLLOVER TOOLTIPS to display different information for different entity types, by merely hovering over it.

 

As a developer who has recently ventured into the world of .NET API, I just wanted to express how 'neat' of a tool this actually is (the CUI defined ToolTips).

 

Essentially what Autodesk has done, is pre-configured an Editor.PointMonitor Event handler for each Type (i.e., Line, BlockReference, Table (which is derived from BlockReference), etc.), and then uses the CUI Editor's Form to specify which Types to 'watch'. When your PointMonitor mouses over an entity in model space, it then digs into the PointMonitorEventArgs to GetPickedEntities (the entities you've moused over), and proceeds to extract the ObjectId, open the DBObject in a Transaction, and ultimately extracts the Property data for that Type cast Object only displaying within the ToolTip the items you've selected in CUI Editor.

 

For a far less complex example of the code-behind for a PointMonitor, see my post here, where I employ a PointMonitor to display Raster Image Properties, and Toggle On / Off.

 

Again, very neat feature :thumbsup:

Posted

It seems a pity that the OP will not be able to benefit from the ROLLOVER TOOLTIPS in AutoCAD WS, unless someone else knows different.

Posted

No, no Rollover Tooltips in AutoCAD WS AFAIK. Just select and look at the layer in the Ribbon as I posted.

Posted

I don't have time to peruse right now, but perhaps Autodesk has made such functionality available to developers in the AutoCAD WS APIs.

Posted

Feeling like a newbie here, what is WS?

Posted
At the Top of the drawing when you select a line, etc. the layer will be shown when in the Home or Draw tab.

 

[ATTACH=CONFIG]41350[/ATTACH]

 

Thanks, that worked well!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...