<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rename Shared Parameter in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/9337067#M75454</link>
    <description>&lt;P&gt;thanks aricke for in-depth info! well, now i understand that SharedParameterElement is the key even though i don't understand why its uid is not same as uid in SP file?&lt;/P&gt;&lt;P&gt;so basically if i want to rename SP in RVT, i have to&lt;/P&gt;&lt;P&gt;1) create temporary SP in order to store old SP value, etc&lt;/P&gt;&lt;P&gt;2) delete old SP's SharedParameterElement, this will REALLY delete that old SP in RVT&lt;/P&gt;&lt;P&gt;3) create new SP, get info i.e. value, etc from temporary SP&lt;/P&gt;&lt;P&gt;4) delete&amp;nbsp;temporary SP via&amp;nbsp;SharedParameterElement&lt;/P&gt;&lt;P&gt;correct me if i'm wrong, will give it a try later&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2020 08:47:04 GMT</pubDate>
    <dc:creator>Ning_Zhou</dc:creator>
    <dc:date>2020-02-24T08:47:04Z</dc:date>
    <item>
      <title>Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5315909#M75432</link>
      <description>&lt;P&gt;Is there a way to rename shared parameter already assigned to the project and/or family files? I would like to keep the GUID as it is but change the alias.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2014 14:54:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5315909#M75432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-03T14:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5318499#M75433</link>
      <description>&lt;P&gt;As far as I know, you can't change the name of a shared paramter, even not manually.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 06:33:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5318499#M75433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-06T06:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5319631#M75434</link>
      <description>&lt;P&gt;Dear La,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately renaming an existing shared parameter is not posible. This comes from the SDK documentation when the RenameParameter method is used : "&amp;nbsp;This operation is valid only for Family Parameters, and is invalid for Shared Parameters and Built-in Parameters."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some workaround that I could suggest is try to&amp;nbsp;&lt;SPAN&gt;export all the values of &amp;nbsp;your existing shared parameter into a temporary storage mapping each element id to its shared parameter value, delete the old shared parameter in the project file, create a new shared parameter with the updated name, and repopulate the values again in that way you will keep the GUID that you need with your new renamed Shared Parameter. it might work.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 16:33:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5319631#M75434</guid>
      <dc:creator>rosalesduquej</dc:creator>
      <dc:date>2014-10-06T16:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5333051#M75435</link>
      <description>&lt;P&gt;Which is a shame as in these days when the standards are not full yestablished yet the option like this would extermly helpfull, net necesseraly as API but as Revit option. The same way replacing GUID seamlesely should be allowed too. I know there are some workarounds but these are never save an relaible methods. I am currently setitng up stagdards for the company and have to deal with the existing projects which started before I joined the company, new standards and possible future national standards. It would be nice to have a tool which would allow me safely play with the data behind the geometry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, thank you for your response, much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;L&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 08:33:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5333051#M75435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-13T08:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5337125#M75436</link>
      <description>&lt;P&gt;There is actually a workaround that allows you to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change the SP to a family Parameter, Rename it and then convert it back to a SP. &amp;nbsp;GUIDS etc do not change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Phillip&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 18:44:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5337125#M75436</guid>
      <dc:creator>PhillipM</dc:creator>
      <dc:date>2014-10-14T18:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5771500#M75437</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;There is actually a workaround that allows you to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change the SP to a family Parameter, Rename it and then convert it back to a SP. &amp;nbsp;GUIDS etc do not change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Phillip&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm interested in this workaround. Could somebody explain how someone suppose to convert back a family parameter to a shared parameter? (All I can do is creating a new shared paramater than assign it to the opened one, but I can do this without first converting it to family parameter.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2015 13:42:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5771500#M75437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-14T13:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5812612#M75438</link>
      <description>&lt;P&gt;This may work in family but in project file the option to change the SP to normal parameter is disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont understand, what drives the family is the GUID not name so there should a way to replace the name of the parameter. Evan if I remove the SP from the file and load it again with new name Revit still uses the old name. Maybe there is away to purge the information about the old parameter name and GUID afer it has been removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;L&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 12:58:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5812612#M75438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-11T12:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5961312#M75439</link>
      <description>&lt;P&gt;So running into a bind with wanting to add company prefix to all of the shared parameters on our FAB sheets, I tried a lil experiment.&amp;nbsp; I edited the Shared Parameter .TXT file and renamed it there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously all of my labels seperated, but so far I see it seems to work.&amp;nbsp; The Parameter names seem crosswired though, areas such as Phase, were prefixed with JHK_.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG title="sp1.jpg" alt="sp1.jpg" src="https://forums.autodesk.com/t5/image/serverpage/image-id/207977i6DA0F84C1CD23E96/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can clearly see the Shared Parmeter name change took here; but...&lt;/P&gt;&lt;P&gt;When I attempt to Edit the existing label, the name pulls in the previous version.&lt;/P&gt;&lt;P&gt;&lt;IMG title="sp2.jpg" alt="sp2.jpg" src="https://forums.autodesk.com/t5/image/serverpage/image-id/207976i135049927B26B38B/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;JHK_FAB_Line No. Worked with no issue at all, as you can see the name in the list of labels (Was previously applied.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone ever try to do this with any success?&amp;nbsp; Or am I simply playing with GUID fire?&amp;nbsp; (Seems the GUID's wouldn't change, since they're IN the text file as well, but then, why are the "Name" fields not fully pulling thru?&amp;nbsp; (Is this a crosswired GUID running in the background at this point?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Sometimes you severly have to break things to understand them and reverse engineer the issues!)&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 23:00:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5961312#M75439</guid>
      <dc:creator>GTisRuleX</dc:creator>
      <dc:date>2015-12-21T23:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5961466#M75440</link>
      <description>&lt;P&gt;Sorry it has taken me so long to reply to this. &amp;nbsp;I actually forgot about this until&amp;nbsp;today when notified about a new post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a trick. &amp;nbsp;You can not rename a shared Parameter, but you can change a SP to a family parameter&amp;nbsp;through the API. &amp;nbsp;Check out FamilyManager.ReplaceParameter().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have changed the Sp to a FP you can then use ReplaceParamater again to replace the newly created Fp back to any user selected SP. &amp;nbsp;The great thing about this method is that the original&amp;nbsp;GUID stays the same as the original Parm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can provide a small code snippet if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Phillip&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 03:20:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5961466#M75440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-22T03:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5961517#M75441</link>
      <description>&lt;P&gt;My experience is that the Shared Parameter cannot really be deleted, even if it is unused. The reference remains and should you try to create a new Shared Parameter using the&amp;nbsp;same GUID, it will assume the previous name.&amp;nbsp;Dale&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 05:44:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5961517#M75441</guid>
      <dc:creator>Dale.Bartlett</dc:creator>
      <dc:date>2015-12-22T05:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5961519#M75442</link>
      <description>&lt;P&gt;Apologies, I didn't read till the last post and responded to the solution. Phillip, I believe your suggestion only applies to a family, not a project. The code snippet would of course be appreciated. Regards, Dale&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 05:49:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5961519#M75442</guid>
      <dc:creator>Dale.Bartlett</dc:creator>
      <dc:date>2015-12-22T05:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5961633#M75443</link>
      <description>Hi Dale. yes you could be right as the Replace method is part of the Family Manager class. I will take a quick look at some code tomorrow as it has been a fair while since I looked at it.</description>
      <pubDate>Tue, 22 Dec 2015 08:40:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5961633#M75443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-22T08:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5971423#M75444</link>
      <description>&lt;P&gt;Hi Phil from KiwiCodes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You mentioned a method of changing paramter names through the API. Could you help me with a description, few screen shots on how you can do this...I found the page but unfortunately I don't code. Too hard basket? I'm a kiwi working in an architecture office in Helsinki and would be great to master this one!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;André&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 09:50:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/5971423#M75444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-04T09:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/6326965#M75445</link>
      <description>I am of the view that this is not possible given the way in which Revit overlaps the use of GUID and Parameter Name. Nevertheless, I hope that a particularly clever work around could be suggested. PS You are a long way from home Andre.</description>
      <pubDate>Sun, 15 May 2016 08:41:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/6326965#M75445</guid>
      <dc:creator>Dale.Bartlett</dc:creator>
      <dc:date>2016-05-15T08:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/6391564#M75446</link>
      <description>&lt;P&gt;Hi KiwiCodes,&lt;/P&gt;&lt;P&gt;Could you please provide the code for this as you described in your post?&lt;/P&gt;&lt;P&gt;That would be great.&lt;/P&gt;&lt;P&gt;I am trying to translate from US to UK family parameters that we don't understand.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2016 18:19:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/6391564#M75446</guid>
      <dc:creator>oboennecUKLON</dc:creator>
      <dc:date>2016-06-18T18:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/6538060#M75447</link>
      <description>&lt;P&gt;This issue was recently raised by&amp;nbsp;one of my clients and the solution I came up with simply requires you to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Change/Edit the names of the parameters in your shared parameters file&lt;/P&gt;&lt;P&gt;2. Check each parameter in your family to see if it is in the shared parameter file under the same name&lt;/P&gt;&lt;P&gt;3. If the parameter is not found by name then it checks to find it by GUID&lt;/P&gt;&lt;P&gt;4. If the GUID exists, a temporary parameter is created and the shared parameter replaced. This is then replaced again with the altered name definition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This all appears to work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This functionality (with a lot of other functionality) is part of ARUtils - Head of the Family.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 00:49:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/6538060#M75447</guid>
      <dc:creator>aricke59</dc:creator>
      <dc:date>2016-09-02T00:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/6569981#M75448</link>
      <description>&lt;P&gt;As stated previously,&amp;nbsp;I believe your suggestion only applies to a family, not a project. Project Shared Parameters are unable to be renamed whilst retaining the original GUID.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 08:04:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/6569981#M75448</guid>
      <dc:creator>Dale.Bartlett</dc:creator>
      <dc:date>2016-09-19T08:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/9336752#M75449</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;SPAN&gt;Phillip, any chance&amp;nbsp;providing a small code snippet? i'm currently doing SPs cleanup, i can do it manually but renaming existing SPs in RFA and RVT via API is definitely the best option, by the way, is it doable to change visible too (i.e. VISIBLE DESCRIPTION in SP file)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 01:48:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/9336752#M75449</guid>
      <dc:creator>Ning_Zhou</dc:creator>
      <dc:date>2020-02-24T01:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/9336797#M75450</link>
      <description>&lt;P&gt;in fact, i cannot do it manually so API is the only option, seems 3rd party has already developed plugin to solve this issue but it only works in RFA, right? anyone can confirm it's doable in RVT? i mean via API&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 03:05:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/9336797#M75450</guid>
      <dc:creator>Ning_Zhou</dc:creator>
      <dc:date>2020-02-24T03:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Shared Parameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/9336806#M75451</link>
      <description>&lt;P&gt;It only works in RFA files. The important command is the FamilyManager.ReplaceParameter that lets you keep all associations of the family parameter. Unfortunately there is no equivalent command for parameters in the RVT environment.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 03:23:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rename-shared-parameter/m-p/9336806#M75451</guid>
      <dc:creator>aricke59</dc:creator>
      <dc:date>2020-02-24T03:23:26Z</dc:date>
    </item>
  </channel>
</rss>

