This content has been marked as final.
Show 3 replies
-
1. Re: Positioning an object placed from library using JS
P Spier May 28, 2014 11:57 AM (in response to Yellow Mammoth)Moved to the scripting forum...
-
2. Re: Positioning an object placed from library using JS
RobertKyle May 28, 2014 2:30 PM (in response to Yellow Mammoth)I think that the result of placeAsset is always an array, so you might try
assetProf[0].resolve...
I'm very curious about the difference between .move (which is what I've been using to reposition newly place library assets) and .resolve
.move usually requires that the script account for all the various measurementUnits that might be in play, so I'm constantly switching to points then switching back to whatever was in use. Does .resolve get around that?
-
3. Re: Positioning an object placed from library using JS
Yellow Mammoth May 28, 2014 3:52 PM (in response to RobertKyle)...actually, I have no idea if resolve() addresses that, maybe this is of any help: http://jongware.mit.edu/idcs4js/pc_Rectangle.html
your suggestion about it being an array was correct. Thanks so much



