Jump to content

Double click > REFEDIT


fostertom

Recommended Posts

Alright, go into your CUI and look for the "Double click options" menu. Expand it and find "block" and then expand block. Click on "block- double click" and on the right where the macro is, delete this:

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

and insert this instead:

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

If you can't figure it out or need help with anything else just ask.

Link to comment
Share on other sites

Insert this instead:

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

The macro can be simply:

^C^C_refedit

Since the BLOCKEDITLOCK system variable has no effect on the operation of the REFEDIT command. ;)

 

Though, I would also note that the 'and' DIESEL expression is redundant in the original macro, since the '>' DIESEL function will return a value of either 1 or 0.

Link to comment
Share on other sites

Yes they're both the same... I simply replaced the last word because I didn't see a reason to change the entire thing. I know what you said works Lee but eh.. whatever the OP wants to use.

Link to comment
Share on other sites

Any ideas on a one-key or a click-on-screen way to later execute REFCLOSE, without going looking for the icon to click?

My workflow, I go in and out of in-place editing Blocks all the time.

Link to comment
Share on other sites

uhmm.. You can make a toolbar or something with the REFCLOSE button on it... I'd change the REFCLOSE to this if I were you:

^C^C_REFCLOSE;save;

This will make the button a better option... just need to put it in a more convenient place. You can even make a keyboard shortcut for it if you like. Let me know if that's what you want and I'll explain that. Either way I recommend changing the REFCLOSE in your CUI to what I have.

Link to comment
Share on other sites

  • 4 years later...

it would be better for my workflow if all the dialog boxes are removed, the nested xref dialog box after xrefedit command and the confirm changes dialog box at closing. is it possible?

thanks

Link to comment
Share on other sites

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...