Hello there, i am a begginer at revit api. i wonna try to make a revit plugin for transfer family parameters. params and their value must transfered to enouther family. Also need function delete params and value from family which was changed. for example : i have a project, which have for all doors same params like high. I find some family of doors at the internet, and wonna upload that to my project and change params. delete or not old params and add new, from my project standart. What do u think? What should i start and i need for this task?
Solved! Go to Solution.
Solved by MarryTookMyCoffe. Go to Solution.
in u idea , u need try to make sure which paramaters is u need or delete or update , and then use code to solve it . so if u use revit proficiently , u can write a standard about paramater's , and then lookup all paramater to do some function.
in past I did something similar
now it will be little more pain in ass to do, just because ForgeId exist, and enums are removed, so pepperer for lots of 'If' statments in your code, and they still didn't do method to get tooltip text, only to set(shaming them about it on developer meeting didn't help, they just don't what to work). But if you do a lots of families this is must. It save me and my workers days of work.
My advice is to thing through format of you transfer file(don't copy directly from one familie to another), and don't do it in one line, like I did 7 years ago :D.
oh and don't forget that ElementId type parameters exist(revit developers forget about them like two times).
Can't find what you're looking for? Ask the community or share your knowledge.