Reply

How can I get full infomation about sheets via rootstorage?

[RootStorage]
Display
     Styles
          Library0
JBlocks
PSMroots
Versions
PARASOLID
JSite32492
     HRESULT:0x80030005 (STG_E_ACCESSDENIED)
JSite32767
    HRESULT:0x80030005 (STG_E_ACCESSDENIED)
JSitesList
DocVersion2
PSMcluster0
PSMspacemap
     HRESULT:0x80030005 (STG_E_ACCESSDENIED
JVisibleData
PSMtypetable
PSMuserroots
BuildVersions
PSMclustertable
PSMsegmenttable
JDraftViewerInfo
     1
     JDraftDocumentInfo
SummaryInformation
MSConvertedPropertyset
GeometricVersionHistory
CustomPropertyVariableInfo
C3teagxwOttdbfkuIaamtae3Ie
DocumentSummaryInformation
Rfunnyd1AvtdbfkuIaamtae3Ie
SszbwomgY1udb2whAaq5u2jwCg
Unclustered Dynamic Attributes

 

With the code in Community.Reader below

 

memoryStream = RootStorage.StreamToMemoryStream(StreamName.JDraftDocumentInfo, StorageName.JDraftViewerInfo);

_documentInfo = memoryStream.ReadStructure<DRAFTDOCUMENTINFO>();

for (int i = 0; i < _documentInfo.NumberOfSheets; i++)
{

 

why the NumberOfSheets not include the background sheet. anybody can help me?  3Q

 

2 REPLIES

Re: How can I get full infomation about sheets via rootstorage?

Roger,

 

I am the author of the SolidEdge.Community.Reader GitHub repository and SolidEdge.Community.Reader NuGet package. The reader leverages embedded viewer data of the .DFT file. If you open a .DFT with the Solid Edge View & Markup application, the sheets you see there are what you will have access to via my reader. Solid Edge does not embed viewer information for background sheets so it's not possible to access them with my reader. Currently, the only way to access all of the sheets of a .DFT is to use the full Solid Edge API.

Jason Newell
Applications Architect
www.jasonnewell.net

Re: How can I get full infomation about sheets via rootstorage?

thank you Jason, Your replay is very helpful to me!