PDA

View Full Version : Revit Architecture 2009 Halftone RGB



Richard Lopez
2009-08-18, 09:58 PM
Can you tell me what the RGB color is for the halftone option in Revit Architecture 2009?

Thanks
Richard

kyle.bernhardt
2009-08-19, 12:32 AM
Can you tell me what the RGB color is for the halftone option in Revit Architecture 2009?

Thanks
Richard

Richard,
Take the Color assigned to the current category, and cut the R,G, & B values in half. There's your Halftone color, pretty literal huh?

Cheers,
Kyle

patricks
2009-08-19, 12:37 PM
Nope. I tried it with walls set to half tone, and then changed a door's cut lines overridden to 128-128-128 (half of full black 256-256-256) and the door appeared darker than the walls.

I also tried the 192 gray color, and that made it lighter than the walls. So it's somewhere between 128 and 192.

patricks
2009-08-19, 12:42 PM
I just exported the view as a bitmap image, opened in Photoshop and used the color picker. Halftone in Revit 2009 is 170-170-170 RGB.

aaronrumple
2009-08-19, 01:20 PM
...andf it sure would be nice to have some control of this setting. It prints way to light on our printer - dropping out detail.

kyle.bernhardt
2009-08-19, 01:52 PM
Nope. I tried it with walls set to half tone, and then changed a door's cut lines overridden to 128-128-128 (half of full black 256-256-256) and the door appeared darker than the walls.

I also tried the 192 gray color, and that made it lighter than the walls. So it's somewhere between 128 and 192.

Hmmm...that's what I was told by one of our developers a while ago. I'll track him down and get to the bottom of it. Sorry for the misdirection.


...andf it sure would be nice to have some control of this setting. It prints way to light on our printer - dropping out detail.

Aaron,
We did in r2010 for exactly that reason. Check out the attached images.

Cheers,
Kyle B

aaronrumple
2009-08-19, 02:51 PM
Aaron,
We did in r2010 for exactly that reason. Check out the attached images.

Cheers,
Kyle B

Thanks for the update on the 2010 setting. Unfortunatly, I've had to drop back to 2009 because of crashing....

kyle.bernhardt
2009-08-19, 02:53 PM
Straight from the developer, and our code. The resulting color depends on both the Line and Background color. Flex your math muscles.
Original line color = RGB(R,G,B)
Original background color = RGB(RB, GB, BB)

Resulting halftone color of the line: RGB( (R+2*RB)/3, (G+2*GB)/3, (B+2*BB)/3 )

Cheers,
Kyle B

patricks
2009-08-19, 03:15 PM
oops I meant to say full black 0-0-0, cuz 256 RGB is white duhh :p

Some crazy equations there, though. Using that, the halftone of black lines on white background would actually be 170.6667, or should be 171 with rounding, but it actually makes them 170-170-170 according to my eyedropper color picker in Photoshop.

aaronrumple
2009-08-19, 03:35 PM
oops I meant to say full black 0-0-0, cuz 256 RGB is white duhh :p

Some crazy equations there, though. Using that, the halftone of black lines on white background would actually be 170.6667, or should be 171 with rounding, but it actually makes them 170-170-170 according to my eyedropper color picker in Photoshop.

I doubt they are rounding. They are just using an integer. Scrapping the 0.6667. One of those programing things that makes sense because of the 1's and 0's.

...and white is 255. Making 170 spot on. (0-255 for 256 shades)

Richard Lopez
2009-08-19, 05:15 PM
Thank you so much for your help I will try it


Richard

Curtis Ridenour
2018-04-26, 03:20 PM
Pretty sure this is it.

X = Brightness = 0 to 100

RGB = 0 to 255

= ROUNDDOWN ( IF ( X>50 , X*(RGB-((RGB+2*255)/3))/50+2*(((RGB+2*255)/3)-RGB)+RGB , X*(((RGB+2*255)/3)-255)/50+255) , 0 )