![]() ![]() In my opinion, I would recommend the implicit one in the first way if you really want to add intellectual property information to your own family files.Fri, at 3:28:00 PM | Revit 2016/2017 Pipe Fiiting family: reducers and There may be other ways to achieve the purpose of encryption, but in general, these are all workaround and tricky. You also need to encrypt the Revit model file itself, otherwise the family files are still free to save when the standard Revit model is distributed. To prevent users from saving or exporting family files, you also need to listen to the application's DocumentSaving, DocumentSavingAs, FileExporting and other events to ensure that the family files are not exported to the standard Revit file format. The general idea is to encrypt the Revit family you create into another file format, which can not be opened directly by Revit and needs to be loaded with the Revit plug-in provided by the author of the family, which first decrypts the loaded special file, then load the decrypted file into the Revit model. The second idea is much more complicated. Unless the author himself, others are unable to know the correct Schema, and therefore can not modify the author information in the family. Because reading or modifying require the correct schema, developers can write Revit family's author information into the Revit family through using ExtensibleStorage. For the first one (implicit one), Revit API provides a way for developers to add custom data to a Revit element: ExtensibleStorage, which allows developers to read or write custom data via the Element's GetEntity / SetEntity method. Of course, there are two levels of watermarking, one is implicit, that is, open the Revit family can not see the traditional watermark the other is explicit, that is, open Revit family can see the traditional watermark (Like "Secret" in the figure below).Īlthough the latter one is doable automatically using Revit API, the watermark is easily to be deleted and modified, which will significantly decrease the value of adding the watermark. The first is to add author information in the family file, which is commonly known as the watermark. We would like to talk about two ways about Revit family encryption. Therefore, to achieve a complete sense of encryption is actually a very complex and tricky thing. Since Revit does not provide cryptography itself, when a Revit model is distributed, all the families it contains are in fact "open source" because the designer who got the model can easily export all the families in the model as Revit family files. However I'd like to share some ideas here, and readers can choose their own method to achieve that according to their own circumstances. Although I can understand the motivation of many companies or individuals for family encryption is that they just want to protect their intellectual property, this is actually conflict to the spirit of sharing which I would suggest. In recent years, many occasions I have been asked about the feasibility of family encryption, and the specific method if possible. ![]() ![]() Naturally, there are so many topics related to Revit families. Without Revit families, Revit likes a man without legs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |