The H-Factor

Reducing Entropy

  • Some great Google stuff from Joe Oliver:

    Google Is a
    Calculator

    When you can’t be troubled to reach over and
    pick up the handheld calculator sitting on your desk, you can use Google as a
    high-tech web-based calculator. All you have to do is enter your equation or
    formula into the standard Google search box, and then click the Google Search
    button. The result of the calculation is displayed on the search results page;
    it’s that simple.

    You can use the standard algebraic operators
    to construct your calculations
    +, -, x, and / for addition, subtraction,
    multiplication, and division, accordingly. For example, to add 2 plus 3, enter
    **2 + 3** and press Enter. To divide 10 by 2, enter **10 / 2**, and so
    on.

    And Google’s calculator isn’t limited to
    basic addition and multiplication. It can also handle more advanced
    calculations, trigonometric functions, inverse trigonometric functions,
    hyperbolic functions, and logarithmic functions. Just enter the proper formula
    into the search box, and wait for Google to display the answer.

    Constants

    In addition to performing calculations,
    Google also knows a variety of mathematical and scientific constants, such as
    pi, Avogadro’s Number, and Planck’s Constant. It also knows the radius of the
    Earth, the mass of the sun, the speed of light, the gravitational constant, and
    a lot more.

    For example, if you’re not sure what the
    value of pi is, just enter

    **pi**
    into the Search box and press Enter; Google returns 3.14159265, as it should.
    How about the speed of light? Enter **speed of light**, and Google returns
    299,792,458 m/s. It’s amazing what Google knows.

    Google Converts Units of
    Measure

    Another surprise is that Google’s calculator
    also handles conversions.

    It knows
    miles and meters, furlongs and light years, seconds and fortnights, and even
    angstroms and Smoots
    and can convert from one unit of measurement to
    another.

    The key to using the Google calculator as a
    converter is to express your query using the proper syntax. In essence, you want
    to start with the first measure, followed by the word "in," followed by the
    second unit of measure. A general query looks like this: /*/x/*/** firstunits in
    secondunits**.

    For example, to find out how many feet equal
    a meter, enter the query

    **1 meter in
    feet**. Not sure how many teaspoons are in a cup? Enter **1 cup in teaspoons**. 
    Want to convert 100 U.S. dollars into Euros? Then enter **100 usd in euros**.
    And so on and so forth.

    Google Is a
    Dictionary

    Want to look up the definition of a
    particular word, but don’t want to bother pulling out the old hardcover
    dictionary? Not sure of a specific spelling? Then use Google as an online
    dictionary to look up any word you can think of. It’s easy
    and there are two
    ways to do it.

    The first approach to looking up definitions
    is to use a ´All you have to do is enter the keywords **what is** in your query,
    followed by the word in question. (No question mark is necessary.) For example,
    to look up the definition of the word "defenestrate," enter **what is
    defenestrate**.

    When you use a "what is" search, Google
    returns a standard search results page (typically with several useful definition
    links in the list), as well as a definition section at the top of the page. This
    section includes a short definition of the word and two useful links.

    The first link, disguised as the result
    title, is actually a link to other definitions of the word on the web. The
    second link, Definition in Context, displays an example of the word used in a
    sentence.

    Google Is a
    Glossary

    Even more definitions are available when you
    use the Google Glossary feature. Google Glossary is what Google calls it,
    anyway; really, it’s just another advanced search operator that produces some
    very specific results.

    The operator in question is **define:**. Use
    this operator before the word you want defined, with no spaces between. So, for
    example, if you want to define the word "defenestrate," enter the query
    **define:defenestrate**.

    When your query includes the **define:**
    operator, Google displays a special definitions page. This page includes all the
    definitions for the word that Google found on the web; click a link to view the
    full definition.

    And here’s something else to know. If you
    want to define a phrase, use the **define:** operator but put the phrase in
    quotation marks. For example, to define the phrase "peer to peer", enter the
    query **define:"peer to peer"**

    Google Lists All the
    Facts

    When you’re looking for hard facts, Google
    might be able to help. Yes, Google always returns a list of sites that match
    your specific query, but if you phrase your query correctly
    and are searching for
    a fact that Google has pre-identified
    you can get the precise
    information you need at the top of the search results page.

    What types of information are we talking
    about? Fact-based information, such as birthdates, birthplaces, population, and
    so on. All you have to do is enter a query that states the fact you want to
    know. For example:

    · To find the population of San Francisco,
    enter **population san Francisco**.

    · To find where Mark Twain was born, enter
    **birthplace mark twain**.

    · To find when President Bill Clinton was
    born, enter **birthday bill clinton**.

    · To find when Raymond Chandler died, enter
    **die raymond chandler**.

    · To find who is the president of Germany,
    enter **president germany**.

    The answers to these questions are displayed
    at the top of your search results page. You get the precise answer to your
    question, according to the referenced website. Click the associated link to
    learn more from this source

     

  • Many (most?) of you may have run into the problem where you use Windows Explorer to search a file for text the YOU KNOW IS IN THERE BUT $%^@# WINDOWS CAN’T FIND IT – grrrrrrr

    Here is how you get it to do that, straight from Microsoft (method 2):

    1. Click Start, and then click Search (or point to Search, and then click For Files or Folders).
    2. Click Change preferences, and then click With Indexing Service (for faster local searches).
    3. Click Change Indexing Service Settings (Advanced). Note that you do not have to turn on the Index service.
    4. On the toolbar, click Show/Hide Console Tree.
    5. In the left pane, right-click Indexing Service on Local Machine, and then click Properties.
    6. On the Generation tab, click to select the Index files with unknown extensions check box, and then click OK.
    7. Close the Indexing Service console.

    Also – I have just installed Google Desktop because that is supposed to do it ‘out of the box’ and I like Google

  • It’s been a while, not because I am lazy but we have a lot (LOT) going on here right now. More about that in a month or so! Plus I’ve been traveling to Chicago, Boise, Idaho and Boston lately

    Need to convert a 2007 drawing to 2004? It’s easy (and free) and you don’t even need AutoCAD. Just download DWG TrueView (Includes DWG Convert) – FREE*

    Back to work…

  • If you have a dry system to calculate you might have gotten frustrated by AutoCalc setting up C=120 piping. A really quick way around this is to create new pipe types in HydraCALC/Utilities/Fittings that have the same properties as Sched-10 and Sched-40, but with a C-Factor of 100. That way you can set your schedule to these in AutoCalc and have them ready to go

  • Hydratec delivers four plot style files with our software: Hydragray.ctb, Hydracolor.ctb HydraLayerGray.ctb (all color dependent plot styles) and Hydragray.stb (named plot style). These are found in the HES\HydraCAD\Ver50\Programs\Version5# folder, depending on your version of the software. 

    To use these files it will be necessary to copy them into the AutoCAD plot styles folder and then choose the one you want to use.

    1. Use My Computer or Windows Explorer to navigate to the HES\HydraCAD\Ver50\Programs\Version57 (or Version56) folder
    2. Locate the following highlighted files

                    Ps1

            2a. Select the four files and then right-click and pick Copy

            3. Right-click on the AutoCAD command line and pick Options… (another little tip!)

                    Ps2

           4. Pick the Plot and Publish tab. Then, pick the Plot Style Table Settings button

           5. Pick the Add or Edit Plot Style Tables button. This will open up the Plot Style Manager (STYLESMANAGER) and the folder where AutoCAD stores it's own plot styles. Right-click in that folder and pick Paste. Close the Plot Style folder. Pick OK to leave this dialog and OK again to close Options.

            6. To assign plot styles to either Model space or Layout tabs, right-click the tab you want to configure for and pick Page Setup Manager (PAGESETUP). If you are in Model space you will see *Model* as an option. If you are on a layout tab you will see each layout tab as options. Pick the option you want and pick Modify. You can then pick Plot style table (pen assignments) to select the one you want.

    Ps3

     

    More, from AutoCAD's help:

    Color Dependent Plot Styles

    Uses color-dependent plot styles in both new drawings and drawings created in AutoCAD Release 14 or earlier. Color-dependent plot styles use the numbers from the AutoCAD Color Index to create a plot style table with a .ctb file extension. Each color is defined by a name or number ranging from 1 to 255. You can assign each color number to a different pen on a pen plotter to achieve different property settings in the plotted drawing. If this option is selected, a plot style is created for each color setting. You can also select this option by setting the PSTYLEPOLICY system variable to 1.

    This setting is saved with the drawing. Once a drawing is saved with Use Color Dependent Plot Styles as the default, you can convert it to Use Named Plot Styles using the CONVERTCTB and CONVERTPSTYLES commands.

    Named Plot Styles

    Uses named plot styles in both new drawings and drawings created in earlier versions of AutoCAD. The drawing is plotted according to the property settings that you specify in the plot style definition. The plot style is defined in the plot style table attached to the layout. Named plot style tables are files with the file extension .stb. You can also select this option by setting the PSTYLEPOLICY system variable to 0.

    This setting is saved with the drawing. Once a drawing is saved with Use Named Plot Styles as the default, you can convert it to Use Color Dependent Plot Styles using the CONVERTCTB and CONVERTPSTYLES commands. However, once you use CONVERTPSTYLES to convert a drawing from using a named plot style table to a color plot style table, you cannot use CONVERTPSTYLES to convert it back to using a named plot style table.

    Doesn't make a lot of sense, does it?

    Simply put, a ctb lets you map objects of a particular color to a pen. That pen can then have a color assigned to it. We have Red, White and Magenta object all mapped to Pen1, which is Black, for example, in the Hydracolor.ctb. In the Hydragray.ctb, the same thing happens except that the pens are all mapped to different shades of gray instead of colors.

    The stb file lets you define a particular style and map certain layers to that. Styles can be mapped via the Layer Manager dialog box.

    Next I will talk about how to edit those plot styles. Right now I am bushed from typing so much.

  • This is a quickie – Sometimes you want to refer to a point that just
    doesn’t exist. In the example below there is no intersection between
    the two lines drawn. Or is there?

    Intersection
    Lets say you want to pick the Intersection of the two red lines in
    that picture. When prompted for a point, pick the Intersection osnap.
    Then hover over one of the lines. You will notice an ‘X…’ followed by
    and ellipses (three dots). Pick the line. Now pick the other line.
    AutoCAD will wait for you to pick two lines if you use the Intersection
    osnap!

    How nice of them.

  • If you use the same types of sprinkler heads in your jobs, consider setting them up in your template so they are available for each new job you start up.

    1. Pick the Open command
    2. Set files of type at the bottom to be Drawing Template (*.dwt). This will display all of our templates.
    3. Pick either Hydracad.dwt or Hydramet.dwt (metric) to open it.
    4. When the Drawing Setup dialog appears, choose your Scale/Sheet Size.
    5. Pick SaveAs and save this template to a name of your choosing. Give it a description as well
    6. Now define your sprinkler heads and Save the template when you are done

    PS – You can also do this to preset the HydraCAD font style you want new drawings to use

  • A common request is to put your own logo on the hydraulics printout cover sheet. This is pretty easy:

    Note: You may have to make any sizing adjustments to your bitmap for it to fit on the cover sheet. You can use a .jpg or .png file too, just rename it to a .BMP extension

    1. Copy your bitmap (i.e. ABC_SPRINKLER.BMP) to the \HES\HydraCALC\Ver50\Data\Setup\Reports folder
    2. Locate the file named NO_LOGO.DAT file in that folder. This is a generic Cover Sheet. Rename it to the same name as your bitmap, using the .dat extension (i.e. ABC_SPRINKLER.DAT)
    3. When you select Print Final in HydraCALC, select your Cover Sheet
  • Little known secret – Autodesk’s programmers hid ‘easter eggs’ in various versions of AutoCAD

    In AutoCAD 2004:

    • Start the Color dialog (e.g. with the _COLOR command).
    • On the Index tab, Ctrl+Left click on the color box 152 (the "Autodesk blue").
    • And, voila – Autodesk developer team presentation will run

    In AutoCAD 2005:

       

      Start the new Layer Manager dialog (e.g. with the LAYER
    command). Press and hold the Shift+Ctrl keys and click on the "Inverse
    filter" option (lower-left corner). And voila – the Autodesk team
    presentation in a "Matrix style" is launched. You can control the
    playback using mouse right-click. 

    There were no easter eggs in 2006 or 2007, making us think these were gone for good, but it appears that some folks at Autodesk do like having fun and they put an easter egg in 2008.

    In AutoCAD 2008:

    1. Set the rendering environment to the photometric lights mode (LIGHTINGUNITS=1 or =2) 
    2. Display the Sun properties palette (the SUNPROPERTIES command) 
    3. Click on the spyglass icon in the Sky properties field 
    4. In the "Adjust Sun&Sky Background" dialog go to the "Sun angle calculator" field
    5. Set the date to 23.3.2007 (AutoCAD 2008 release date) 
    6. Click on the Time value and hit the Home key (resets time to midnight)
    7. While holding the Ctrl key press twice the Down-arrow key
    8. The presentation is launched, with music and all…

  • Once you have your palette(s) set the way you want them, you may want
    to be nice and share them with others. This will require and Export
    from you and an Import to them. But first you may want to combine them into a Group.

    Groups
    Right-Click on the tool palette and pick Customize Palettes… This will bring up a two-columned dialog box. On the left are the palettes in your AutoCAD – Note this is not a per-drawing thing – you only have ONE set of tool palettes. On the right you can right-click and pick New Group. Name this Group.

    Now drag the palettes you want from the left into the right. Once this is done, right-click on the Group you created (or on the left right-click on just one palette if that is all you want to export) and pick Export. Give your Group a name and location you can later find. Copy this file to a network location or somewhere on another users computer. The file extension will be .xtp if you Exported a palette and .xtg if you Exported a Group.

    To place the palettes on another computer, bring up the tool palette on their computer (CTRL+3) and pick Customize Palettes… and pick Import. Now right-click on the left or right depending on whether you are Importing a palette or a Group of palettes.