Hydratec Inc.

Need to save a card for later?

Create a bookmark folder in your browser of choice (Chrome, Firefox...), and save individual cards in your bookmarks to view here later.

AutoCAD Based Calculations (Ribbon/Toolbar/Location)

Button: Hydraulic Demand Error Type: Bad Argument

Description:

When trying to insert a Hydraulic demand block (Compact/Standard/Expanded) (IHD command) and after selecting the .WXF file to use;

 

You get the error message;

Error: bad argument type: numberp: DATAFILE

And the command kicks you out.

Solutions:


1.
Cause:

Through a stroke of bad luck, the info sheet had a word which is sensitive to how the program reads the values to be inserted.

Solution:

In this case, the word DIA were the first 3 letters of the job name, and it was enough to crash the process


2.
Cause:

Piping from the riser, pump, underground, and source were input above many of the other nodes.  This is normally the case when running an AutoCALC and not re-arranging reference points after-the-fact



Solution:

While not required most of the time, it's always best to move your riser and water supply piping to the end of your calculation.  Your water supply source should be the last reference point in the calculation.



Updated: Nov. 10, 2025, 10:07 a.m. Created: Sept. 2, 2022, 12:57 p.m.