2010-10-12 12:23 PM
2010-10-13 01:49 PM
2010-10-13 11:11 PM
2010-10-14 04:05 AM
2011-05-25 10:55 AM
2011-05-26 05:51 PM
Juha wrote:True.
If I remember right, the object's coordinates are always zero in the schedules
2011-05-26 07:22 PM
2011-05-26 08:25 PM
!!! ----- Master Script ----- x = xOff + SYMB_POS_X + GLOB_WORLD_ORIGO_OFFSET_X y = yOff + SYMB_POS_Y + GLOB_WORLD_ORIGO_OFFSET_Y z = zOff + SYMB_POS_Z !!! ----- Property Script ----- component "X Location", x, 'm' component "Y Location", y, 'm' component "Z Location", z, 'm'No need to declare x, y, z as parameters., x, y will return 0.
2011-06-02 02:44 PM
Olivier wrote:Thanks Olivier. Do i need to define these components in database too ? and then add them in the 'components' window ?
!!! ----- Master Script ----- x = xOff + SYMB_POS_X + GLOB_WORLD_ORIGO_OFFSET_X y = yOff + SYMB_POS_Y + GLOB_WORLD_ORIGO_OFFSET_Y z = zOff + SYMB_POS_Z !!! ----- Property Script ----- component "X Location", x, 'm' component "Y Location", y, 'm' component "Z Location", z, 'm'
2011-06-03 08:12 PM
!!! ----- Property Script ----- component GLOB_ID + " X Location", x, 'm' ! etc...