X Y co-ordinates of the object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-10-12 12:23 PM
I also want to take the same data in to Schedules. Can anybody show me some example of such scripts.
(I tried with e.g. x1 = SYMB_POS_X , but i think i dont know how to use this Global parameter?)
Thanks.
Upto AC 22
iMacs and MacBookPros: Mac OS X (10.6 to 10.12, Intel core 2 Quad to i5, i7, 8 GB to 16GB)
Win 10, AMD Opteron 6-Core x 2, 16GB, FirePro W4100 2GB
& ThinkPad E550
& i7, 8GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-10-13 01:49 PM
Hope it is useful.
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-10-13 11:11 PM
If I remember right, the object's coordinates are always zero in the schedules

Regards, Juha

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-10-14 04:05 AM
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-05-25 10:55 AM
----
If bUpdate then
Xx1 = SYMB_POS_X - Ooffsetx !X co-ord
Yy1 = SYMB_POS_Y - Ooffsety !Y co-ord
Endif
Parameters Xx1 = Xx1
Parameters Yy1 = Yy1
Xx1Last = Xx1
Yy1Last = Yy1
if bUpdate then
Xx1 = Xx1
Yy1 = Yy1
else
Xx1 = Xx1Last
Yy1 = Yy1Last
Endif
~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
text2 0.2, (-r1+0.1), "x: "+ PreX + str ("%.2", Xx1*100)
text2 0.2, (-r1-0.05), "y: "+ PreY + str ("%.2", Yy1*100)
Text output comes correct But the taken parameters Xx1 & Yy1 in the schedule, are showing the valuae incorrect (i.e. it considers the value of 'SYMB_POS_X' and 'SYMB_POS_Y' as zero)
can anyone help on this please?
Upto AC 22
iMacs and MacBookPros: Mac OS X (10.6 to 10.12, Intel core 2 Quad to i5, i7, 8 GB to 16GB)
Win 10, AMD Opteron 6-Core x 2, 16GB, FirePro W4100 2GB
& ThinkPad E550
& i7, 8GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-05-26 05:51 PM
Juha wrote:True.
If I remember right, the object's coordinates are always zero in the schedules![]()
Curiously, they do show correctly in basic component lists.
GDL oddities. Don't know if this can help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-05-26 07:22 PM
Also somehow i could manage to show this X_Y co-ord values into schedules, but then the text out put is having the problem.
Can we use the PUT function here? do you buddies know how to use it?
(by the way this exercise is to prepare a co-ord table for Setting out points)
Upto AC 22
iMacs and MacBookPros: Mac OS X (10.6 to 10.12, Intel core 2 Quad to i5, i7, 8 GB to 16GB)
Win 10, AMD Opteron 6-Core x 2, 16GB, FirePro W4100 2GB
& ThinkPad E550
& i7, 8GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-05-26 08:25 PM
Basic component list is the only possibility I can see for the moment.
May be Karl or other folks could tell you more.
Just in case,
!!! ----- 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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'
Upto AC 22
iMacs and MacBookPros: Mac OS X (10.6 to 10.12, Intel core 2 Quad to i5, i7, 8 GB to 16GB)
Win 10, AMD Opteron 6-Core x 2, 16GB, FirePro W4100 2GB
& ThinkPad E550
& i7, 8GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-06-03 08:12 PM
Document > Shedules and Lists > Component Lists > Basic. That's all.
Export under the format you need.
To separate different objects, you can sort them by ID, for eg.
!!! ----- Property Script ----- component GLOB_ID + " X Location", x, 'm' ! etc...