Exports Inventor parameters from a document to an XML file.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0
Syntax
VB
Function ParametersXmlSave (
doc As Document,
xmlFileName As String,
Optional saveOption As XmlSaveOption = XmlSaveOption.All
) As Integer
C#
int ParametersXmlSave(
Document doc,
string xmlFileName,
XmlSaveOption saveOption = XmlSaveOption.All
)
Parameters
- doc
- Type: Document
The document. - xmlFileName
- Type: System.String
The full path of the XML file. - saveOption (Optional)
- Type: Autodesk.iLogic.Interfaces.XmlSaveOption
Specifies whether to save only key parameters, or all parameters.
Return Value
Type:
Int32
Remarks
You can export all parameters, or key parameters only.
See Also
Reference