This project is read-only.

Are there any, get/setXML() webpage/js callable Methods for LiveGeometry?

May 2, 2011 at 5:14 AM



I would appreciate having some access to the LiveGeometry silverlight object from

javascript, mainly, something like... 

LG.getXML() ->xml_drawing_string

which would allow us to load and get the current Drawing's xml via javascript on the containing webpage.


I have read... 

and watched

internally LiveGeometry will follow LINKS and there is 

<param name="initParams" value="LoadFile=,ShowToolbar=false" />

which aside from needing, a web server running with  


<?xml version="1.0"?>

<!DOCTYPE cross-domain-policy SYSTEM "">

<cross-domain-policy><allow-http-request-headers-from domain="*" headers="*"/>


in the root directory, works and is at least a start.

Hopefully I missed part of the documentation, and a Live Geometry page (from a scripting perspective) 
is less of an unreachable black box than it appears to be. 





May 7, 2011 at 11:47 PM

Josh sorry for the delayed reply. Unfortunately I don't know almost anything about JavaScript so I didn't provide any interoperability with it. However this should be possible. If you'd be willing to figure it out and provide a patch, I could incorporate it into the product. Thanks! Kirill