Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

CUI Change for editing block in place will not work and changes are not retained

Anonymous

CUI Change for editing block in place will not work and changes are not retained

Anonymous
No aplicable

I commonly use the 'edit block in place' command by double clicking a block. (My BLOCKEDITLOCK is set to 1). However, the new version of autocad defaults this double click action to open the properties palette. (no idea who thought that would be remotely helpful). 

 

When I open the CUI customization, I'm able change the macro to:

$M=$(if,$(and,$(>,$(getvar,blockeditlock),0)),^C^C_refedit,^C^C_bedit).

 

However, this does not work as it did in the past. (still just opens the properties). If I restart my AC, the macro reverts back to the default which was:

$M=$(if,$(and,$(>,$(getvar,blockeditlock),0)),^C^C_properties,^C^C_bedit)

 

I thought maybe entering a new value for WSCURRENT would help, but it has not. 

 

 

Any advice is much appreciated. 

0 Me gusta
Responder
Soluciones aceptadas (1)
3.192 Vistas
11 Respuestas
Respuestas (11)

maxim_k
Consultant
Consultant
Welcome to Autodesk Forums!

Hi John,

Are you using AutoCAD for Mac? Or AutoCAD for Windows?
I'm asking, because in AutoCAD for Mac you cannot use CUI command to change double-click actions and you are posting in AutoCAD for Mac Forum.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Me gusta

Anonymous
No aplicable
Thanks maxim - yes, I'm on autocad for mac 2017. I believe I've been able to do this in the past without any problem.

I usually can open the cui customizer, search for double click, block and I can change the macro.
0 Me gusta

Anonymous
No aplicable
Thanks maxim - yes, I'm on autocad for mac 2017. I believe I've been able to do this in the past without any problem.

I usually can open the cui customizer, search for double click, block and I can change the macro.
0 Me gusta

maxim_k
Consultant
Consultant
CUI editor in AutoCAD for Mac allows only create custom commands (macros) and assign them to pull-down menu and to the Tool Sets palette buttons.

BTW, when BLOCKEDITLOCK is set to 1 (as in your case) double-clicking a dynamic block in a drawing opens the Properties palette. If the dynamic block contains attributes, double-clicking the block reference opens the Enhanced Attribute Editor.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Me gusta

Anonymous
No aplicable

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/Using-th...

 

I've been using this for years. Only recently (2017 version) has not been possible. 

 

I can still easily right click the block and edit it in place... I just can't figure out why I can no longer change this Macro. 

0 Me gusta

maxim_k
Consultant
Consultant

John,

 

1/ I want to repeat once again - in AutoCAD for Mac you cannot edit double-click actions in CUI editor.

Here is how CUI editor looks like in AutoCAD for Mac - only "Commands" and "Menus" customization available in it:

2017-07-14_20-33-26.png

 

 

 

 

 

2/ So, looks like you are using AutoCAD for Windows.

I tested just now and the trick described in this article:

 

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/Using-th...

 

(actually you gave the link to it in your previous post)

works fine on my system with AutoCAD 2017 for Windows.

 

Maxim


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Me gusta

Anonymous
No aplicable

Thanks Maxim - Definitely not try to argue with you, and I'm sure you're right about the double click actions generally. In my CUI for AC Mac 2017 (and previous versions), there is a "command" called 'Block - Double Click'... it's the only double click reference in there, but I've edited this macro in the past.

 

Screen Shot 2017-07-14 at 1.42.06 PM.png

 

Just as the link we both referenced, it is exactly as described for the windows version. However, if I change 'properties' to 'Refedit', the CUI will not retain that change. It will not work and will revert to the properties macro upon restart. 

0 Me gusta

maxim_k
Consultant
Consultant
Yes, now I understand what do you mean.
In previous versions you were able to edit macro assigned to double-click on block action, because it is stored inside main menu CUI file.
In AutoCAD 2017 the main CUI file was moved from ~/Library/Application Support/Autodesk/AutoCAD XXX/RXX.X/roaming/CUI folder to the folder inside AutoCAD application to protect it from unauthorized changes. That is why you cannot change the macro permanently.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community

maxim_k
Consultant
Consultant
BTW: you still can change double-click action for block by editing main CUI file inside AutoCAD application folder, but this trick not recommended by developers.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Me gusta

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

Did @maxim_k's excellent post #9 help you to edit the Macro?

 

Did he resolve your issue with the great suggestions? If so, please reward the post that worked with a Kudos and please also mark a post or posts as Accepted Solution(s) that resolved the issue.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Me gusta

Anonymous
No aplicable
Solución aceptada

Thanks Maxim - That was the problem. I can't believe that'd make it that difficult for someone to change. 

 

Navigating inside of the AutoCAD application package, granting myself permissions, opening the 'MenuGroup.cui' file in textedit, searching for 'double', and then manually replacing the macro worked. 

 

So far the application seems stable since the change. (however, a backup of the original file is saved to my desktop)