Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lock HPCOLOR and prevent changes

29 REPLIES 29
SOLVED
Reply
Message 1 of 30
troma
917 Views, 29 Replies

Lock HPCOLOR and prevent changes

Is there any way to prevent the HPCOLOR variable from being changed?

 

Try this:

  1. set your current color to Red
  2. Start the hatch command, and verify that the hatch color is set to "Use Current"
  3. Hatch an area
  4. Change your current color to Yellow
  5. Start the hatch command, and check the hatch color setting: it will not be "Use Current" but instead set to "Red"
  6. Change it to "Use Current" again and create a hatch
  7. Change your current color to Green
  8. Start the hatch command again, and check the color setting: this time it will be set to "Yellow"! Why can't it just keep "Use Current"?

 

Please tell me there is a way to lock this setting.

I always want it to "Use Current".

Changing the current color should not trigger a change to the hatch setting.


Mark Green

Working on Civil 3D in Canada

Tags (2)
29 REPLIES 29
Message 21 of 30
troma
in reply to: ВeekeeCZ

Thanks @ВeekeeCZ 

I'll accept that as the solution. It does exactly what I requested and I suspect will have other beneficial side effects. (Just guessing that it will speed up other functions, selecting options in the properties palette maybe?)

 

@Kent1Cooper can you confirm this? Likely you already had PROPERTYPREVIEW turned off?


Mark Green

Working on Civil 3D in Canada

Message 22 of 30
troma
in reply to: troma

And to be clear, I'd still consider this a bug.
No-one expected this behaviour, right?

Mark Green

Working on Civil 3D in Canada

Message 23 of 30
cadffm
in reply to: troma

Hi,

 

I think 100%, no one

and it wasn't the case between 2013(tested)-2015(researched)

 

>"that it will speed up other functions,"

Right, all object property change - previews by Ribbon and properties palette galleries and dropdowns about object properties

(PROPERTYPREVIEW<enter>[F1])

 

 

Sebastian

EESignature

Message 24 of 30
paullimapa
in reply to: ВeekeeCZ

I would have never thought of PROPERTYPREVIEW. I don't even know what PROPERTYPREVIEW is..lol.

Executing your solution right away even without restarting AutoCAD the HPCOLOR setting stays in place after every CECOLOR setting change. But I'm not able to see the difference with PROPERTYPREVIEW off or on even after an AutoCAD restart. With PROPERTYPREVIEW off, when I rollover an object I still see the quick properties like popup. With PROPERTYPREVIEW on the Ribbon or Properties window does not change when I rollover an object...am I missing something?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 25 of 30
troma
in reply to: paullimapa

Select an object, then go to the Properties palette.
For example: drop down the Color option.
Don't select a colour, just hover your mouse over each one in turn.

If PROPERTYPREVIEW is on, you will see the object preview each colour.
If PROPERTYPREVIEW is off, the object will not take on the colour until you actually click on a colour.

In some cases I believe creating the preview uses a lot of visual resources. (An example might be changing the scale of a viewport.) You might crash or at least significantly slow down your drawing just by dropping down the list and moving your mouse over the options. With PROPERTYPREVIEW turned off, the machine doesn't have to work so hard to make previews. It only needs to do the work after you select the option you want.

Mark Green

Working on Civil 3D in Canada

Message 26 of 30
troma
in reply to: paullimapa
Message 27 of 30
paullimapa
in reply to: troma

thanks for the very clear & detailed explanation. Never knew PROPERTYPREVIEW controlled this. I wonder what triggered @ВeekeeCZ to think about this setting to resolve the HPCOLOR problem?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 28 of 30
ВeekeeCZ
in reply to: troma

@paullimapa 

 

Well, my starting point was PROPERTYPREVIEW off, so... I always adjust this section in my profile. Working with large objects so redrawing properties just by hovering over the list of properties takes time and makes the cursor sticky.

 

eekeeCZ_0-1723225530201.png

 


So, I didn't really understand this issue; it just behaved as expected (2025). Then I came to clean 2024 to solve something else and also tried this one. Initially, I thought of Hatch Creating Context Ribbon (also off), then somehow intuitively turned off these previews. But I would bet on Command Preview... not Property...

Message 29 of 30
paullimapa
in reply to: ВeekeeCZ

Very good investigative work.

Looks like PROPERTYPREVIEW came out back in 2013: CAD Forum - AutoCAD variable PROPERTYPREVIEW

@cadffm I wonder why this had no impact on HPCOLOR till AutoCAD 2016?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 30 of 30
cadffm
in reply to: paullimapa

I was wondering too, but 2013-2015 works well

Sebastian

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta