05.09.2023, 12:28
Hello Dear,
I want to use the custom value in the script, How?
I want to use the custom value in the script, How?
Best Regards,
Read Custom values from Script
|
05.09.2023, 12:44
Can you explain more what you want to do? Do you want to create custom value on a object via script or instead of object value use custom value in scripting?
------------------------------
Ctrl+F5
05.09.2023, 12:49
(05.09.2023, 12:44)Daniel Wrote: Can you explain more what you want to do? Do you want to create custom value on a object via script or instead of object value use custom value in scripting? Hello Dear, Yes the second one (05.09.2023, 12:49)admin Wrote: See this: https://forum.logicmachine.net/showthrea...9#pid14379 Could I use it with Tag_Data = grp.tag(Used_Tag) or should I use grp.find
Best Regards,
05.09.2023, 21:43
grp.find will return a single object properties table, grp.tag will return a table with all objects that have the specified tag so you must iterate this table and then use the sample code if you want to use grp.tag instead of grp.find, so yes possible but requires a small change in the sample code…
hello Erwin,
Code: for i, obj in ipairs(Tag_Data) do the custom values are not in the log table! Quote:* table: How could I achieve that instead of adding a grp.find ?
Best Regards,
06.09.2023, 10:55
This won't work without an extra grp.find or a db query:
Code: json = require('json')
06.09.2023, 11:04
Thank You admin
you have the solution as always, is there a Guide how to use the db query: Also thank you Erwin for pointing on this solution.
Best Regards,
|
« Next Oldest | Next Newest »
|