hwIXMLFile SetFilename

Sets the current XML file.

Syntax

hwIXMLFile_handle SetFilenamefilename

Application

HyperWorks Tcl Modify

Description

This command sets the current XML file.

Inputs

filename
The filepath of the file that you want to set as the XML file.

Example

hwi GetSessionHandle sess;
sess GetXMLFileHandle XML “c:/Documents and Settings/user/My Documents/hwsettings.xml”;
XML SetFilename “c:/Documents and Settings/muriellesmith/My Documents/test.xml”;

Error

Returns success (0) or an error code.

Keywords

HyperWorks

Tcl

XML

Query