2024 Method
Changes 0
M

Document.Import

Description:
Imports a Green-Building XML file into the document.
Remarks:
This method is available only in MEP. Though the 'options' argument is not currently used, an object still must be provided (may be .a null reference (Nothing in Visual Basic)). The method will return False if not succeed. e.g when the input xml file does not contain any result elements.
public bool Import(
	string file,
	GBXMLImportOptions options
)
  • String
    file
    Full path of the file to import. File must exist.
  • options
    Various options applicable to GBXml import. If nulla null reference (Nothing in Visual Basic), all options will be set to their respective default values.
Return Value bool True if successful, otherwise False.