Setting the Transformation Reference Point

I am finally moving from Indesign CS6 up to CC2017. I have a script that I have been using for years that draws a box and imports a PDF into it. In the past it has always worked correctly. Since upgrading to CC2017 my imported PDF is now being imported and positioned according to the reference point. By default it seems my reference point is set to center, so my PDF gets imported centered in the box. I really need it imported and positioned in the upper left corner of the graphic box.

I see that I can use the instruction:

set transformation reference point to top left anchor

but this just generates and error.

a snippet of my code is here:


tell page 1 of document 1
		set myBox1 to make rectangle with properties {geometric bounds:{0.1, 0.1, 4, 8.4}, stroke weight:"0"}
		tell myBox1
			try
				set transform reference point to top left anchor
				place file MyArtPDF
			on error
				display dialog "ART missing"
			end try
		end tell
	end tell

hopefully this makes sense.

david

Can Anyone Help me Out with this??

david