TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: CAB on March 09, 2011, 10:03:55 AM

Title: MATCHPROP command settings
Post 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.  :-(
Title: Re: MATCHPROP command settings
Post by: Lee Mac on March 09, 2011, 10:20:04 AM
Select an object, then type 'Settings' ?

[ in 2010 anyway ]
Title: Re: MATCHPROP command settings
Post by: alanjt on March 09, 2011, 10:20:19 AM
Wasn't it's original name PAINTER?
Title: Re: MATCHPROP command settings
Post by: alanjt on March 09, 2011, 10:20:46 AM
Select an object, then type 'Settings' ?

[ in 2010 anyway ]
I think he meant with code.
Title: Re: MATCHPROP command settings
Post by: Lee Mac on March 09, 2011, 10:21:48 AM
Select an object, then type 'Settings' ?

[ in 2010 anyway ]
I think he meant with code.

Oops! Most likely!  :oops:
Title: Re: MATCHPROP command settings
Post by: BlackBox on March 09, 2011, 10:23:46 AM
Select an object, then type 'Settings' ?

[ in 2010 anyway ]
I think he meant with code.

 :lmao:

Code: [Select]
(command "._matchprop" pause "Settings")
Title: Re: MATCHPROP command settings
Post by: alanjt on March 09, 2011, 10:24:57 AM
Select an object, then type 'Settings' ?

[ in 2010 anyway ]
I think he meant with code.

 :lmao:

Code: [Select]
(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)
Title: Re: MATCHPROP command settings
Post by: Tharwat on March 09, 2011, 10:25:51 AM
Wasn't it's original name PAINTER?

And it is still goes on . 

Matchprop + painter = the same  :-)
Title: Re: MATCHPROP command settings
Post by: alanjt on March 09, 2011, 10:26:48 AM
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.
Title: Re: MATCHPROP command settings
Post by: BlackBox on March 09, 2011, 10:31:36 AM
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
Title: Re: MATCHPROP command settings
Post by: Lee Mac on March 09, 2011, 10:33:51 AM
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?
Title: Re: MATCHPROP command settings
Post by: CAB on March 09, 2011, 12:08:10 PM
I'm back.
Yes I wanted to be able to RESET/SET the properties with code.

So no one has found them yet?
Title: Re: MATCHPROP command settings
Post by: 3dwannab on June 26, 2023, 04:26:27 PM
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"?
Title: Re: MATCHPROP command settings
Post by: ribarm on June 27, 2023, 06:44:48 AM
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.