parameters for difrent Language

parameters for difrent Language

MarryTookMyCoffe
Collaborator Collaborator
647 Views
1 Reply
Message 1 of 2

parameters for difrent Language

MarryTookMyCoffe
Collaborator
Collaborator

Revit Parameters change names with language, I wonder if there is possibility to do the same thing for selfmade Parameters?

or maybe the only way is to creat duplicate of family for every language?

-------------------------------------------------------------
--------------------------------|\/\/|------------------------
do not worry it only gonna take Autodesk 5 years to fix bug
0 Likes
Accepted solutions (1)
648 Views
1 Reply
Reply (1)
Message 2 of 2

RPTHOMAS108
Mentor
Mentor
Accepted solution

If your parameters are non-shared then you can use FamilyManger.Rename

 

For shared parameters you can conceivably use FamilyManager.ReplaceParameter

 

As (for some reason) you are only meant to use this second method above to change between shared parameters and non-shared you'd have to call twice using both overloads. i.e. replace SharedParameter with a non-shared one and then replace the non-shared one with another alternative language shared one.

 

I'd probably create an alternative set of families using the above approach which are then distributed with the add-in and installed according to locale. Would only maintain one set and automatically generate the others.

0 Likes