adambutler wrote:Have you tried calling the data block script as a macro from the objects which rely on the global values?
Is a way to set these globals programmatically (in my apx)?
Is there a way to guarantee that on a regen the data block script will run before any other scripts?
Has anybody had similar problems?
adambutler wrote:What if you passed the parameters of the object instance to the macro? Can it be written to set the globals according to the input it receives?
This will not work because the instance of the data block on the drawing has parameters set which are used to set the globals. If I call it like a macro I will be getting the values of the default parameters.