ArcFM Desktop Developer Guide
ImportDataFromDOM Method


Version: 10.2.1a

Resource Center Home

IXMLDOMDocument

IPropertySet. CYMDIST, Electric Solver, and MultiSpeak each have their own import property set.

Imports data from an XML DOM document.
Syntax
'Declaration
 
Sub ImportDataFromDOM( _
   ByVal pXMLDoc As Miner.Interop.msxml2.IXMLDOMDocument, _
   Optional ByVal pProperties As ESRI.ArcGIS.esriSystem.IPropertySet _
) 
'Usage
 
Dim instance As IMMXMLData
Dim pXMLDoc As Miner.Interop.msxml2.IXMLDOMDocument
Dim pProperties As ESRI.ArcGIS.esriSystem.IPropertySet
 
instance.ImportDataFromDOM(pXMLDoc, pProperties)
void ImportDataFromDOM( 
   Miner.Interop.msxml2.IXMLDOMDocument pXMLDoc,
   ESRI.ArcGIS.esriSystem.IPropertySet pProperties
)

Parameters

pXMLDoc

IXMLDOMDocument

pProperties

IPropertySet. CYMDIST, Electric Solver, and MultiSpeak each have their own import property set.

Remarks

If you are using CYMDIST, this method does the following:

  • If pXMLDoc is nothing, sets CYMDIST directories based on the import properties, and then quits.

  • Creates a CYMDIST application object and study if they do not already exist.

  • Loads network features to CYMDIST beginning with circuit breakers and finding connected downstream features.

  • If a feeder already exists in memory or in the CYMDIST network database, the old feeder is deleted, after warning the user.

  • Retains the application object and study in memory.

If you are using Electric Solver, this method does the following:

  • Loads network features to from the XML document to the Solver object.

  • If a feeder already exists in memory in the Solver object database, the old feeder is deleted, after warning the user.

  • Retains the Solver object in memory.

Note: The client must call get_Solver on IMMElecSolver API before this method will work.

If you are using MultiSpeak, this method does the following:

  • Transforms the geodatabase extracted XML document into a MultiSpeak XML document. Also imports analysis results from the MultiSpeak XML and passes them to Analysis API.

  • The property set specifies the style sheet used in the transformation, the name of the MultiSpeak XML (if exporting), and whether an export to a MultiSpeak XML or an import of analysis results is being performed.

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMXMLData Interface
IMMXMLData Members

 

 


Send Comment