TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: CAB on March 09, 2011, 10:03:55 AM
-
Does anyone know where/how to set or reset the properties used by the MATCHPROP command?
My quick search came up empty. :-(
-
Select an object, then type 'Settings' ?
[ in 2010 anyway ]
-
Wasn't it's original name PAINTER?
-
Select an object, then type 'Settings' ?
[ in 2010 anyway ]
I think he meant with code.
-
Select an object, then type 'Settings' ?
[ in 2010 anyway ]
I think he meant with code.
Oops! Most likely! :oops:
-
Select an object, then type 'Settings' ?
[ in 2010 anyway ]
I think he meant with code.
:lmao:
(command "._matchprop" pause "Settings")
-
Select an object, then type 'Settings' ?
[ in 2010 anyway ]
I think he meant with code.
:lmao:
(command "._matchprop" pause "Settings")
(http://www.theswamp.org/lilly_pond/alanjt/facepalm.gif)(http://www.theswamp.org/lilly_pond/alanjt/facepalm.gif)(http://www.theswamp.org/lilly_pond/alanjt/facepalm.gif)(http://www.theswamp.org/lilly_pond/alanjt/facepalm.gif)(http://www.theswamp.org/lilly_pond/alanjt/facepalm.gif)
-
Wasn't it's original name PAINTER?
And it is still goes on .
Matchprop + painter = the same :-)
-
Wasn't it's original name PAINTER?
And it is still goes on .
Matchprop + painter = the same :-)
I meant that as another possible search option.
-
In all seriousness, perhaps this thread will clarify (2nd Post):
http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/system-variable-for-matchprop-settings/m-p/2591492
-
I don't think the settings are stored in the registry since it seems they are local to the application, i.e. when ACAD is closed, the settings are reset. However, settings are available between documents, so maybe blackboard namespace?
-
I'm back.
Yes I wanted to be able to RESET/SET the properties with code.
So no one has found them yet?
-
I stand on the shoulders of giants but I feel like one now :2funny:
MATCHMODE
Used RegScanner for items changed in the last 5 minutes and saw this little variable hanging about in:
HKCU\SOFTWARE\Autodesk\AutoCAD\RXX.X\ACAD-XXXX:XXX\Profiles\2020 ARG Settings\Variables
I was searching the command line with *mode* but nothing came up. I guess it follows SELECTSIMILARMODE but they forgot to expose it as a variable. After all, it's in the same reg path as MATCHMODE.
Edit:
Does anyone know how to suppress the message from (command "_.matchprop"...)
Current active settings: Color Layer Ltype Ltscale Lineweight Transparency Thickness Dim Text Hatch Polyline Viewport Table Material Multileader Center object"?
-
When MATCHPROPs is an issue, I have to pinpoint that this routine comes to my mind - make properties current from picked entity...
https://www.cadtutor.net/forum/topic/77773-make-current-line-properties-routine-lsp/?do=findComment&comment=620080
HTH., M.R.