LSL has an API llSetLinkPrimitiveParams() to set the params of a prim in a linkset. But there is NO equivalent llGetLinkPrimitiveParams() to get the existing values.
The lack of this API makes many operations on linksets either impossible or incredibly inefficient. For example: I want to scale an object by 10% from script. How can i do this with a linkset? The math is trivial. But i cannot GET the current size of prims in the linkset to scale them up (even though, once i had this, i could indeed SET them).
The workaround, of course, is to put a script in each prim in the linkset to either (a) do the scaling or (b) fetch the current scale (etc) so that the root prim can do the work. However, this suffers from two drawbacks:
1. it's complex: scripts need to talk to each other via lMessageLinked with some kind of protocol. This also adds significant sim overhead.
2. It adds extraneous scripts. Given that the Lindens are on a crusade to limit the number of scripts in a sim, then any enhancements to LSL that reduced the need to proliferate scripts would, i think, be very welcome and benefit everyone.
(As a general note, this specific bug is an example of the more general principal that ANY "set" type API should ALWAYS be mirrored by an equivalent "get" API).
Please add your comments/vote to the earlier issue