API XML Stream and SW (swDocMgr)

Hey crew,

Been doing alot of head banging with the SwDocumentManager of late. Trying to make an acceptable structured quantified BoM from the XML stream SW gives you. Just when I think I have cracked the schema there is yet another wrinkle in it. Example:

9140-00605 is an assembly, beats me what reports to it based on the stream. Anyone have any tools they have devised to successfully parse the SW XML stream into say a tab delimited indented BOM? Tips freely accepted!

XML is actually easy but this is getting really old.

TIA

Reply to
Guy Edkins
Loading thread data ...

Are you using VB.NET? or VBA with the newer office versions?

It's all actually trivial to load the XML file into a DataSet/ DataTable and then you can do anything you want... SQL, Excel, HTML. pdf... you name it and you can convert the DataSet/ DataTable...

With regards,

Vinodh Kumar M.

formatting link

Reply to
GreenHex

Any code examples available how to use SWDocumentManager?

Reply to
Markku Lehtola

Reply to
Guy Edkins

Hello Guy-

"The SwDocMgr API help file has some very nice examples of use." Where is this located? I can't find it.

Best Regards, Devon T. Sowell

formatting link

Reply to
Devon T. Sowell

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.