ā2023-04-24 06:07 PM
Hi,
It seems bug...or awkward feature:
The CW panel cannot report it's position relative to project 0,0,0...(SYMB_POS_X, SYMB_POS_Y, SYMB_POS_Z always report 0,0,0 in local object coords no matter if in editor or placed)
It does not even report SYMB_POS_FROM_SURVEY_POINT which IMHO should work for any object, but does not.
In object editor it gives 0,0,0 which it should, but while placed it gives:
"Uninitialized dictionary key or invalid use of initialized dictionary key"
It seems this global is not passed to the object?
Maybe I do something wrong? Anyone?
Best Regards,
Piotr
ā2023-04-25 09:58 AM
Hi,
The documentation lists which elements these globals are working with.
SYMB_POS_...: Object, Lamp, Door, Window, Wall End, Skylight
SYMB_POS_FROM_SURVEY_POINT: Object
ā2023-04-25 10:06 AM
It is not that explicitly said...object is everything in GDL :P, and a lot of things in manual referring to "object" works almost for every flavor of "object"...
Anyway: Is there any possibility to check the panel position relative to anything?
Piotr
ā2023-04-25 11:41 AM
Is outputting the coordinate value to a property okay? I was able to output to a property (with the help of an addon)
Structural engineer, developer of free addon for sync GDL param and properties
ā2023-04-25 11:46 AM
I have to calculate something live in-object (panel) so properties do not work...
I am trying to avoid making a structure in one object to simplify things like editing and scheduling.
ā2023-05-03 09:27 AM
The documentation of global variables and ac_ parameters refers to objects as the library parts available with the "Object" tool.
Generally tools with multiple components (CW, stair, railing, opening) don't give global positions to GDL.
ā2023-05-04 05:20 AM
If there were some position possible even to some whatever called a starting point of CW, that would make some new applications of CW possible š