Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Invoke comands with "internal names" from AutoCAD?

Peter2_1
Collaborator

Invoke comands with "internal names" from AutoCAD?

Peter2_1
Collaborator
Collaborator

IM, oracle

 

In the forms there are some buttons to select / highlight the current object or all current filtered objects. Fine.

There is also a button to "unhighlight" the objects. Also fine.

Sometimes I close all my forms / windows and forget to "unhighlight"  - not fine.

 

The internal name of the command is "Autodesk.Map.IM.Map.MapDialog/TBUnhighlightAll"

Is there a way to call it from AutoCAD/MAP CUI?

AutoCAD Map 3D 2023 German / Oracle
0 Likes
Reply
Accepted solutions (1)
763 Views
4 Replies
Replies (4)

urs_sommerhalder
Participant
Participant

Hi,

Why not use the command in german AutoCAD Map 3D "rg" ("regen")?

Regards #Urs

0 Likes

Peter2_1
Collaborator
Collaborator

Thanks Urs,

for the comment, but "regen" shows a special behaviour for me (Map 2018). It "unhighlights" the objects, but they are not removed from the "highligthing-list".

 

Example:

- select some "sections"

- open the form with "tbattributes"

- play around with "mark all objects in selection set / unmark them": they are switched on/off as expected

- "mark all objects"

- type "regen": the highlight goes away

- but: move your mouse over the sections -> they are permanently highlighted just by moving around (without clicks)

- "unmark all objects" -> mouse moving has only expected effects

AutoCAD Map 3D 2023 German / Oracle
0 Likes

urs_sommerhalder
Participant
Participant
Accepted solution

Hi @Peter2_1 ,

 

Thank you for detailed description, now i can reprduce the effect aso in AutoCAD Map 3D 2020.

Possible solutions are:
- Open another Form and click the "unhighlight" button
- Regenerate Graphic (TBGENERATEGRAPHIC)- Refresh single layer in display manager
- Refresh all layers in display manager wihth command "MAPDISPLAYMANAGER A B " (command in german for AutoCAD Map 3D)

- Develop a document plugin for AutoCAD Map 3D for unhighlight all features in graphic

 

I have not found a command for invoke the internal functions directly in the AutoCAD command line, only with a AutoCAD or AutoCAD Map 3D plugin.

 

I hope its help...
Regards #Urs

 

Peter2_1
Collaborator
Collaborator

Thanks Urs

unfortunately the coding of a plugin is not possible for everybody (better: beyond the average user knowledge) ...

 

Basically, it would be great if some of the commands, hidden in forms or subforms or contextmenu of submenu, could be reached easy in a toolbar or with a shortcut or with an additional "keyboard-for-special-usage" or something else ....

AutoCAD Map 3D 2023 German / Oracle
0 Likes