Donate Now Goal amount for this year: 2500 USD, Received: 1869 USD (75%)

Results 1 to 4 of 4

Thread: the file 'XX' could not be read, or is not a valid shared parameter file revit

  1. #1
    Junior Member
    Join Date
    March 31, 2014
    Location
    Herts/Essex UK.
    Posts
    44
    Current Local Time
    02:23 PM

    the file 'XX' could not be read, or is not a valid shared parameter file revit

    Hi

    My ex-colleague had set up a shared parameter file in Revit 2014 for door parameters that I could not find (I think it may have been on his local drive.) After he left I upgraded the project to 2015 to try it out and then I exported out all of the shared parameters into a new file on our network drive and began adding my own parameters (all in Revit, no editing was done in notepad!) Then suddenly it gave me the warning message in my thread title. I'm the only Revit user now so it can only be somthing I have done.

    Does anyone there any tips for avoiding repeating cocking it up?

    Is it possible to repair it or do I have to go through the rigmarole of exporting all the new SPs I created after the last backup?
    Attached Files Attached Files

  2. #2
    Member irneb's Avatar
    Join Date
    April 25, 2013
    Location
    Jo'burg SA
    Posts
    350
    Current Local Time
    04:23 PM
    Sorry, don't know how this might have happened if you were only using Revit to edit it. All I can "sort of" imagine is that you used a tab instead of a space when naming the parameter (though that shouldn't have happened, unless you perhaps copy-pasted it from somewhere else). Note: nothing in the parameters should contain tabs as the file uses tabs to demarcate the various data items of each parameter, so if anything inside the param contains a tab it would interfere with the file structure.

    The problem parameter is "Fail secure doors with 12v DC current and thumb turn over-ride latch internally" on the 11th line in that file. There's an extra tab just before the parameter's name with a "-" as the value. Thus when Revit reads this file it gets to that line, tries to create a shared parameter named "-" and fails because the next field (which it expect to state the data type as NUMBER) it sees the full name thereof instead.

    To edit this file, I used Notepad++ and turned on View-->Show Symbol-->Show Whitespace and TAB.
    Attached Files Attached Files

  3. #3
    Junior Member
    Join Date
    March 31, 2014
    Location
    Herts/Essex UK.
    Posts
    44
    Current Local Time
    02:23 PM
    Cheers irneb!

    That worked, to save time I had been cutting and pasting from our word document spec. Next time I'll re-type as the guys who do the spec can't type or format documents properly!

    I know you from Cadtutor don't I?

  4. #4
    Member irneb's Avatar
    Join Date
    April 25, 2013
    Location
    Jo'burg SA
    Posts
    350
    Current Local Time
    04:23 PM
    You're very welcome! Agreed about the copy-paste stuff. The entry dialog avoids such errors only when you type the data into it, but it can get weird errors from pasting.

    Alternatively you could "clean" the spec doc by saving it to text first, unfortunately Word doesn't have a lot of control over this: you'd need to edit it inside a text editor and find-n-replace all tabs with spaces. I'd advise something like Notepad++ to do these things.

    Quote Originally Posted by Glen1980 View Post
    I know you from Cadtutor don't I?
    Most probably!

Similar Threads

  1. Shared Parameter File Imperial/Metric
    By ParagonChris in forum Architecture and General Revit Questions
    Replies: 2
    Last Post: April 8th, 2013, 06:37 PM
  2. Replies: 0
    Last Post: November 22nd, 2012, 02:16 AM
  3. Replies: 0
    Last Post: January 18th, 2012, 03:15 PM
  4. Shared Parameter File: Is name only unique or name/group
    By jerry_fci in forum Architecture - Family Creation
    Replies: 5
    Last Post: December 2nd, 2011, 10:21 PM
  5. Replies: 0
    Last Post: August 11th, 2011, 07:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •