Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Shared Parameters Not Exporting to ODBC

  1. #1
    Member
    Join Date
    2003-12
    Posts
    7
    Login to Give a bone
    0

    Default Shared Parameters Not Exporting to ODBC

    Has anyone else found that all of the shared parameters that you add to your families don't show up in the exported data from the OBDC database.

    I have tried brining the export through both Excel and Acces and the data is great and I will be able to do heaps with it through VBS but I really need the shared parameters that I added to all of my family objects to come through.

    Regards

    JM

  2. #2
    AUGI Addict
    Join Date
    2003-11
    Location
    New Zealand
    Posts
    1,116
    Login to Give a bone
    0

    Default Re: Shared Parameters Not Exporting to ODBC

    You need to add the shared parameter to the project parameters in your project.rvt. This is how Revit knows which parameters should be exported.
    The PITA is you need to do this with every project file. If they are families you use regularly, add the shared parameters to your template files.

    The help files will explain it further.

    HTH,

    Guy

  3. #3
    Member
    Join Date
    2005-08
    Posts
    5
    Login to Give a bone
    0

    Default Re: Shared Parameters Not Exporting to ODBC

    I tried something similar and can get my instance shared parameters to export to ODBC but not type. Any ideas.

  4. #4
    Member
    Join Date
    2005-08
    Posts
    5
    Login to Give a bone
    0

    Default Re: Shared Parameters Not Exporting to ODBC

    OK done it now, I wasnt looking in door types in access. Once problem though, when you export again after creating a new shared parameter. The new shared parameter gets lost.

  5. #5
    100 Club
    Join Date
    2004-06
    Location
    Wakefield, West Yorks, UK
    Posts
    102
    Login to Give a bone
    0

    Default Re: Shared Parameters Not Exporting to ODBC

    Chris

    I think this is because the Access database file does not get re-creatied if it already exists.

    To get the new shared parameter you may need to recreate the .mdb file from scratch

    If you have any reports queries etc these need to be brought in from the previous .mdb file

  6. #6
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: Shared Parameters Not Exporting to ODBC

    bringing up an old thread here, but I have a related issue. How can you get a shared parameter that is both instance and type? What I am trying to do is create a parameter for linear feet of casework. I created a shared parameter called linear feet, and added it to several families. For some, I set it equal to the width, some the length, etc. However some of them are instance (like countertop length) and some are type (like normal casework units). THis works fine in Revit, but I can only export either the Type ones or the instance ones to ODBC, not both since you can only add a shared parameter once...

  7. #7
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: Shared Parameters Not Exporting to ODBC

    not possible I guess?

  8. #8
    Member
    Join Date
    2006-01
    Location
    Philly, PA, USA
    Posts
    26
    Login to Give a bone
    0

    Exclamation Re: Shared Parameters Not Exporting to ODBC

    Quote Originally Posted by James.Lupton View Post
    Chris

    I think this is because the Access database file does not get re-creatied if it already exists.

    To get the new shared parameter you may need to recreate the .mdb file from scratch

    If you have any reports queries etc these need to be brought in from the previous .mdb file
    Not to put too fine a point on it, but you really only have to recreate the tables from scratch, not the whole database. This can save you a lot of trouble if you have made a lot of custom queries and/or reports in the database. Just delete the tables where you want the additional parameters to show up (yes, it's OK to delete the relationships along with the tables). Then export the revit project to the same .mdb file again. The tables will be recreated including any new parameters you have added.

  9. #9
    Member
    Join Date
    2006-01
    Location
    Philly, PA, USA
    Posts
    26
    Login to Give a bone
    0

    Default Re: Shared Parameters Not Exporting to ODBC

    Quote Originally Posted by GuyR View Post
    You need to add the shared parameter to the project parameters in your project.rvt. This is how Revit knows which parameters should be exported.
    The PITA is you need to do this with every project file. If they are families you use regularly, add the shared parameters to your template files.

    The help files will explain it further.

    HTH,

    Guy
    Thanks - that did the trick. Of course, I'm only using instance parameters at the moment, so I don't know if I'd have trouble with type parameters. I wonder if chris ever got his to work?

  10. #10
    Member
    Join Date
    2006-01
    Location
    Philly, PA, USA
    Posts
    26
    Login to Give a bone
    0

    Post Re: Shared Parameters Not Exporting to ODBC

    Quote Originally Posted by sfaust View Post
    bringing up an old thread here, but I have a related issue. How can you get a shared parameter that is both instance and type? What I am trying to do is create a parameter for linear feet of casework. I created a shared parameter called linear feet, and added it to several families. For some, I set it equal to the width, some the length, etc. However some of them are instance (like countertop length) and some are type (like normal casework units). THis works fine in Revit, but I can only export either the Type ones or the instance ones to ODBC, not both since you can only add a shared parameter once...
    Just brainstorming a little here: if the goal is export to ODBC, why not just use two different shared parameters in Revit (say, one for types and one for instances) and then let a database query recombine the fields once the data is exported?

Page 1 of 2 12 LastLast

Similar Threads

  1. Spaces in Shared Parameter names - ODBC issues?
    By Jos Arpink in forum Revit - Platform
    Replies: 0
    Last Post: 2010-11-06, 05:10 PM
  2. Exporting to ODBC changes values
    By kplusa in forum Revit - Platform
    Replies: 1
    Last Post: 2010-04-26, 10:05 PM
  3. Exporting Shared parameters
    By dbaldacchino in forum Revit Architecture - General
    Replies: 1
    Last Post: 2006-12-13, 10:18 PM
  4. ODBC Exporting Error
    By hand471037 in forum Revit Architecture - General
    Replies: 8
    Last Post: 2004-05-05, 03:47 PM
  5. Revit 6 ODBC Export of Shared Parameters
    By bcox in forum Revit Architecture - Families
    Replies: 4
    Last Post: 2004-01-21, 04:04 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
  •