It is possible to load family directly to the current document without first saving it to a file. Looking at the api for loadFamilies and it only takes in a filename as a parameter. I'm working a plugin that allows only authenticated users to download and load families. I don't want these users distributing the families to other revit users without them first authenticating.
Hello,
As mentionned in the comment above, I don't think you can keep the property of families in Revit (unlike other softwares like PDMS). Indeed each time you import a family symbol in a document Revit makes a local copy in your Document of this symbol. And this symbol can not be protected.
Many architects tried and none succeeded.
One friend of mine created a blueprint in all families, ie a hidden parameter that can not be modified except by code (Revit plugin). So that you can check a file of another architect to check if the young architect that he hired from you has taken your Families. But still, I don't think you will go far with this (juridically).
Can't find what you're looking for? Ask the community or share your knowledge.