Announcement

Collapse
No announcement yet.

Dimension Formula giving "Invalid Imput" - Help??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Dimension Formula giving "Invalid Imput" - Help??

    I'm having an issue walking through the Revit MEP 2010 Families Guide tutorial book. I'm creating a pipe fitting and everything's going great so far until now. Notice in the image I have attached, as soon as I input the necessary Formula for LenA1, it gives an error. I don't know if the differences in RME2010 and RME2012 versions is causing this but I'm assuming it shouldn't. Is there a way for me to troubleshoot this type of error from now on? Thanks in advance.



    Also note, I had to change the Lookup Table Path in my Revit.ini file, since I do not have write permissions to the network directory it was originally pathed for my company. The file "Threaded Generic Elbow.csv" comes with the training datasets that coincide with the tutorial.
    Tannar Z. Frampton ™
    Frampton & Associates, Inc.

    #2
    Hi

    I had some problems creating famillies using lookup tables. I assume that the lookup table is located in the folder indicated in revit.ini

    1. You have a text parameter storing the lookup table file name, why don't you use it? the formula should start like this "=text_file_lookup(Lookup Table Name,"
    2. The columns names in the csv and the parameters must be different. You shoul change the column name LenA1 to C_LEN_A1 for example. "=text_file_lookup(Lookup Table Name," "C_LEN_A1", 0, "NomDia")
    3. Make sure the units of the familly match the csv units
    4. The first column of the csv has to contain the NomDia values

    Hope this helps
    Best Regards

    [email protected]
    www.revitmep.es
    linkedin twitter

    Comment


      #3
      It might be that the wrong Revit.ini file has been changed? There is one at the root location (C:\Program Files\Autodesk\Revit MEP 2012\Program) of the application but there is also a user specific Revit.ini for each user that's used the Revit installation on the pc. You'll need to fix the path in the user Revit.ini to find the fitting .csv file (mine is here for example: C:\Users\myusername\AppData\Roaming\Autodesk\Revit \Autodesk Revit MEP 2012).

      Btw, not the same error message you see but a subtle problem can arise if you create a parameter AND put a formula in before clicking the APPLY button Revit will often generate an error message because it hasn't committed the change of adding your parameter completely yet. Clicking APPLY will commit the change (creation of a parameter) and this will allow you to add something new (something in the formula column) because it now "knows" that the parameter exists. You can READ my earlier blog post about it.
      Last edited by Steve_Stafford; January 6, 2012, 12:59 PM.

      Comment


        #4
        Originally posted by Steve_Stafford View Post
        It might be that the wrong Revit.ini file has been changed? There is one at the root location (C:\Program Files\Autodesk\Revit MEP 2012\Program) of the application but there is also a user specific Revit.ini for each user that's used the Revit installation on the pc. You'll need to fix the path in the user Revit.ini to find the fitting .csv file (mine is here for example: C:\Users\myusername\AppData\Roaming\Autodesk\Revit \Autodesk Revit MEP 2012).

        Btw, not the same error message you see but a subtle problem can arise if you create a parameter AND put a formula in before clicking the APPLY button Revit will often generate an error message because it hasn't committed the change of adding your parameter completely yet. Clicking APPLY will commit the change (creation of a parameter) and this will allow you to add something new (something in the formula column) because it now "knows" that the parameter exists. You can READ my earlier blog post about it.
        Thanks Steve, I will give this a shot and let you know what I come up with. Good hanging out with you last night!! Fun times.

        Andrei, thanks for your input too, I will see what I come up with as well.

        *EDIT*
        It Worked!! Thanks Steve. I changed the Revit.ini file in the root program directory, not in the user directory. Changed it there, and it took the formula like a charm. Thanks a million.

        Andrei, I also took your advice and used the Parameter name instead of the CSV filename value.
        Last edited by tzframpton; January 6, 2012, 01:47 PM.
        Tannar Z. Frampton ™
        Frampton & Associates, Inc.

        Comment

        Related Topics

        Collapse

        Working...
        X