Quantcast
Channel: PTC Community : All Content - Programming & Extending Mathcad
Viewing all articles
Browse latest Browse all 680

Modifying Matrix Elements From Within Scripted Object

$
0
0

I am trying to make changes to matrices with a VBScript Scripted Object. I can get the matrix with worksheet.getValue("Matrix"), but changes I make to that with Matrix.SetElement do not persist outside the script. It seems like the matrix returned by worksheet.getValue is a new object rather than a reference to the one in the worksheet, is that correct? If so is there any way to modify the original matrix from within the VBScript?

 

Thanks,

Evan


Viewing all articles
Browse latest Browse all 680


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>