The transform is available on the instance in which the shape is placed. If your rectangle is placed inside an instance stored in variable inst1, then the transform of the shape is inst1~>transform. You'll notice that this transform simply consists of the xy of the instance and the orient of the instance and 1.0 for the magnification. You could therefore build the transform yourself with list(inst1~>xy inst1~>orient 1.0) although that is a waste of time. If a shape is multiple levels deep in the hierarchy, then you need to build the transform from the instances hierarchically. You can combine one or more transforms using dbConcatTransform. Derek
↧