2020-05-08 02:14 PM
2020-05-08 03:33 PM
Christophe wrote:Sure!
Is it possible to call an object with CALL command for example and then allow to modify one of the parameters of this object ?
CALL yourmacro PARAMETERS paramInMacro = someValue
Christophe wrote:??? I have no idea what you mean
Is it possible to call an object other than by its sum in the library?
Christophe wrote:Hopefully I understand you right, but you can do so in the Parameter script. Don't forget to save your parameter back afterwards!
Is it possible with GDL to call a parameter of an element or even to concatenate or add the results.
foo = 1234 ! number bar = "Test" ! string ! for concat just use the plus operator qux = bar + " " + str("%^~", foo) ! those flags are a bit pesky ! % -> obligatory ! ^ -> no thousand delimiter ! ~ -> no decimal fractions ! save the parameter back parameters myparam = quxHow "str()" works is a bit troublesome, but just consult the handbook.
2020-05-08 03:51 PM
Christophe wrote:I am French and my OS corrects me thinking that I want to speak French ... I therefore resumed my first message. THANKS to you already for these precious answers.
Is it possible to call an element like object and if it's possible are we able to call an element other than by itsnamein the library?
2020-05-08 03:58 PM
Christophe wrote:Ah!
are we able to call an element other than by itsnamein the library?
2020-05-08 05:49 PM
CALL name PARAMETERS upperPlaneHeight = upperPlaneHeightnewI've created "upperPlaneHeightnew" to be able to modify it.
2020-05-08 06:25 PM
Christophe wrote:I've never worked with pointclouds, but it sounds like you just made up a new parameter in the object you're actually calling, right?
But by using and modifying this parameter through my GDL tool... Nothing is happening :/
2020-05-08 06:54 PM
runxel wrote:That means I'm not able to modify point clouds parameters through another GDL objet ?
Well, no wonder then! Your new parameter inside the macro (the pointcloud object?) doesn't do anything.
2020-05-08 07:41 PM
Christophe wrote:Not really the best go-to guy for that. I have no idea if point clouds even do have any parameters, but I vaguely remember the statement you can't do much more than displaying them.
That means I'm not able to modify point clouds parameters through another GDL objet ?
2020-05-09 11:30 AM