Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
from Autolisp :
(setq xmlfilepath "C:\myxml.xml")
(setq mylst (list (list "fsi_perm" 1200) (list "fsi_Basic" 1300) (list "fsi_temp" 1400) )
(updatexml xmlfilepath "ProjectDetails" mylst )
In .net C#
[LispFunction("updatexml")]
public _AcDb.ResultBuffer updatexml(_AcDb.ResultBuffer rbArgs)
{
_AcDb.ResultBuffer resBufOut = new _AcDb.ResultBuffer();
Array argsArray = null;
argsArray = rbArgs.AsArray();
string xmlfilename = argsArray.GetValue(0).ToString();
/// how to receive mylst value and split it as single value
}
Solved! Go to Solution.