X
X
XelaNimed2019-04-16 12:44:18
Data Structures
XelaNimed, 2019-04-16 12:44:18

How to create/overwrite file properties and property groups with Structured Storage API?

I work with SolidEdge from Siemens. I need to read/create/edit properties and property groups of files. For these purposes, there is an official COM API, but it requires SolidEdge installed with a license and, in addition, it works very slowly. But since the program files are compound ( Compound Files ) and support the structured storage API ( Structured Storage ), this can be used to solve the problem. To read file properties, there is already SolidEdge.Community.Reader , with which you can read file properties without using the COM interface, but it only supports reading properties. On the Siemens forum , the author of the library suggestsadd the functionality of creating / editing properties, if necessary, but does not specify how. Be that as it may, it is possible to solve the problem using the Structured Storage API. I made sure of this using the Structured Storage Viewer , with which you can edit file properties, create property groups, etc. After a long search, I did not find anything concrete for working with compound files using C#. In this connection, there are a couple of questions:
- how to create/edit/delete property groups and properties themselves in SolidEdge files?
- ideally, I would like to know how to extend the functionality of the SolidEdge.Community.Reader library to be able to write properties?
Related links

  • Compound Files
  • Structured Storage
  • SolidEdge.Community.Reader on GitHub
  • Structured Storage Viewer
  • OpenMcdf on GitHub
  • SolidEdge file for tests

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question