1

Hello I want to retrieve the custom properties of a file rfa or file rvt (Software Revit file format)

I could during my research came across this link: https://forums.autodesk.com/t5/revit-api/revit-custom-file-properties/td-p/5533067

but I have found no answer to the question.

Do you have an idea in advance thank you

Axel
  • 21
  • 7
  • I don't believe this is a Revit specific API, but just a regular Win32 API, so you should be able to read it. – Augusto Goncalves Sep 23 '15 at 11:17
  • Can you give me an example please ? – Axel Sep 23 '15 at 12:27
  • I found a way that adds a property (Google research : https://www.google.fr/?gws_rd=ssl#q=win32+api+properties+file+custom+revit,link : http://blog.rodhowarth.com/2008/06/how-to-set-custom-attributes-file.html). I will seek ways to find them. – Axel Sep 23 '15 at 12:35
  • Where did you go to add/edit these properties? – Maxence Sep 24 '15 at 07:23

1 Answers1

1

Revit uses the Compound File Binary Format (CFBF) for his .rvt/.rfa files. You can view the content of a file with an utility like this one. In the specific case of these properties, they must be stored in a property set: https://msdn.microsoft.com/en-us/library/dd942421.aspx

Maxence
  • 12,868
  • 5
  • 57
  • 69