Revit MEP

Reply
New Member
myemenu
Posts: 1
Registered: ‎08-12-2009
Message 1 of 10 (1,056 Views)

Mismatched shared parameter definitions!

1056 Views, 9 Replies
05-25-2012 07:58 AM

I am working in Revit  MEP 2012. When I try to load some families which I got from manufacturers (a model of a rooftop unit or a chiller) my revit crashes. I get the following error message "An unrecoverable error has occured. The program will now be terminated. ..).

I looked into the journal file created for the error and i have copied what i think is the problem. I have multiple parameters called "Phase" already in the model and it looks like there is a name conflict when i tried to bring in this new family which has a new parameter called "Phase".  Has anybody seen this before or is there a solution to this?

Thanks!

 

 

  ' 0:< DBG_WARN: Mismatched shared parameter definitions!  GUID='697795fb-88ee-4cc9-93e4-e363ae8be74b'  Existing parameter:  Name='Phase'  ParamType='11', '-1', '4'  New parameter:  Name='Phase'  ParamType='16', '-1', '4': line 821 of Elem\FamilyUI.cpp.

 'C 25-May-2012 09:02:08.793;   0:< Assertion failed: line 829 of Elem\FamilyUI.cpp

 ' 0:< Exception occurred

 'C 25-May-2012 09:02:08.793;   0:< ExceptionCode=0xe06d7363 ExceptionFlags=0x00000001 ExceptionAddress=000007FEFD62CACD

Valued Mentor
julianjameson8403
Posts: 458
Registered: ‎06-16-2010
Message 2 of 10 (1,049 Views)

Re: Mismatched shared parameter definitions!

05-25-2012 09:08 AM in reply to: myemenu

As you highlighted the categorising of the parameter is different so could well be upsetting Revit. Before loading in to project, I would recommend adjusting the family to incorporate your shared parameters byt swapping their ones for your ones in the family types dialogue box. That should hopefully resolve the issue.

 

This is one of the problems with Manufacturer content as they mean to help bu it actually causes more problems and messing around trying to fix it.

If my reply answers your query, please use the Accept as Solution.
Please give Kudos as appropriate to enhance the value of these forums.

Thank you!
New Member
emcgann
Posts: 1
Registered: ‎12-26-2010
Message 3 of 10 (949 Views)

Re: Mismatched shared parameter definitions!

08-08-2012 02:14 PM in reply to: julianjameson8403

Did you figure this out?  I am running into the same thing with an Aurora pump I downloaded from the manufacturer.  My journal file tells me it is the Phase parameter too.  I tried removing the phase parameter from the family, but it still gives me a fatal error when I load it in. 


It is odd that I can load it into an "autodesk template" without any issue.  When I try to load it into a project started with my company template, I get the error.

Valued Mentor
julianjameson8403
Posts: 458
Registered: ‎06-16-2010
Message 4 of 10 (935 Views)

Re: Mismatched shared parameter definitions!

08-10-2012 03:48 PM in reply to: emcgann

Sorry but have had little spare time to look at things due to workload.

If my reply answers your query, please use the Accept as Solution.
Please give Kudos as appropriate to enhance the value of these forums.

Thank you!
Contributor
rocky1717
Posts: 18
Registered: ‎05-31-2012
Message 5 of 10 (798 Views)

Re: Mismatched shared parameter definitions!

11-07-2012 06:33 AM in reply to: julianjameson8403

Okay I have ran into this problem as well.  Here is what I have found out.  Half of the families out there have a phase paramter called "Phase" and are set to "number of poles" as their type of parameter.  The other half of the families out there have a "Phase" parameter set as an integer.  Now to argue which is right or wrong.  

 

120V,1 Phase = 1 Pole

208V, 1 Phase = 2 Poles
208V, 3 Phase = 3 Poles

240V, 1 Phase = 2 Poles
240V, 3 Phase = 3 Poles

277V, 1 Phase = 1 Pole
480V, 1 Phase (rare) = 2 Poles
480V, 3 Phase = 3 Pole

 

While most of the time Phase does equal No of Poles it doesn't always as shown above.  So if you are going to create a phase parameter it should be set as an integer not "No of Poles." 

 

Now for the fix and to truely remove the phase parameter from a .rfa.  How these two parameters ever ended up with the same GUID is beyond me the only thing I can think of is that at some point a family creator got in there and messed with the shared parameter file IDs before the parameter was assigned in that family.  Removing the parameter requires an add-in from sdk and is not easy for me to explain.  I will try and make a video of how to install the add-in and remove the parameter soon when I have a little more time on my hands.  For starters you can install the add-in you need by placing the two files I attached into this folder C:\ProgramData\Autodesk\Revit\Addins\2013

or C:\ProgramData\Autodesk\Revit\Addins\2012 for 2012.   Once the add-on is installed open the family go to its parameters, delete the parameter.  Then use Revit Lookup> Snoop DB> Element> find "phase" look at element ID copy that to your clipboard, exit snoop db.  Now go and do a purge under the manage tab, I usually do it twice for good measure.  Now go to select by ID under manage tab paste that ID that you copied out of Snoop and hit OK.  You will notice that you have something selected so just hit the delete button and that deletes the parameter.  Now save the file, and upon reopening make sure the audit box is checked.  Like I said not an easy task but its what it takes.  I will try to make a youtube video and post  a link to it soon.  Okay apparently I cannot attached the files I need to so message me with your e-mail and I will send them to you.

-THanks

New Member
marcus
Posts: 1
Registered: ‎11-14-2012
Message 6 of 10 (728 Views)

Re: Mismatched shared parameter definitions!

11-14-2012 03:12 PM in reply to: rocky1717

Rocky, I am having a similar problem with a shared parameter. Have you made the video you mentioned in your post about instructions to install the Add in?

Product Support
Lance.Coffey
Posts: 378
Registered: ‎05-14-2010
Message 7 of 10 (710 Views)

Re: Mismatched shared parameter definitions!

11-16-2012 10:00 AM in reply to: marcus

I've had a few people asking about clearing these problematic shared parameters, so I wanted to provide more details on how to install the Revit Lookup add-in to facilitate this.

 

  1. Download the 2012 SDK from the following link (I've found that the 2013 version does not have a pre-compiled version of the RevitLookup.dll file, but the 2012 version will work with the 2013 software):
    http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=2484975
  2. When prompted extract the SDK to the following folder:
    C:\RevitAPI 2013\Revit 2013 SDK
    Note: You can use a different folder, if you want, but you will need to adjust the path in the ADDIN file from the next step.
  3. Download the RevitLookup.addin file from the following link to the C:\ProgramData\Autodesk\Revit\Addins\2013\ folder (For XP use the C:\Documents and Settings\All Users\Application Data\Autodesk\Revit\Addins\2013\ folder):
    http://adndevblog.typepad.com/aec/2012/09/revitlookupaddin-manifest-file-.html

 

Note: If you are installing the add-in for the 2012 version, replace 2013 with 2012 (and edit the ADDIN file to change the path).

 

Once the add-in is loaded, you can go through the steps provided by rocky1717 to remove the shared parameters from the family. 



Lance Coffey
New Member
clink
Posts: 2
Registered: ‎12-13-2013
Message 8 of 10 (328 Views)

Re: Mismatched shared parameter definitions!

02-24-2014 11:49 AM in reply to: myemenu

Ok... I have followed all of the steps above and have been able to identify and select the offending parameter, but it will not allow me to delete the parameter.  I select by id and hit the delete key, and nothing happens?   What do I do now...??? I really need to be able to use these families but the parameter mismatch prevent me from loading the families.  Fatal error every time!

Contributor
rocky1717
Posts: 18
Registered: ‎05-31-2012
Message 9 of 10 (319 Views)

Re: Mismatched shared parameter definitions!

02-24-2014 12:06 PM in reply to: clink

What version of Revit are you using, also did you do the audit?  One other thing.  After you delete that paramter and purge does it still show up when you run snoop?

New Member
clink
Posts: 2
Registered: ‎12-13-2013
Message 10 of 10 (307 Views)

Re: Mismatched shared parameter definitions!

02-25-2014 05:45 AM in reply to: rocky1717
Yes. I deleted the Parameter in the family types dialog, purged multiple times. Then Select the parameter by ID and then hit the delete key, but the parameter won't delete. And yes it will still show up when I run Snoop again. I'm using Revit 2013. Could this be because the manufacturer might have made a family template with the shared parameters loaded into it. By changing the extension on a family .rte to .rfa. adding their shared parameters and then changing back to .rte. Would this "lock" the added parameters so that they cannot be deleted? Just a guess...
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!